2013年9月4日

SGU 107

摘要: 1 #include 2 #include 3 //#define suf 987654321 4 5 int main(){ 6 //测试使用,暴力解出n=9时的8个解,平方后缀是否为suf只与其后9位有关 7 /*for(long long i=sqrt(suf*1.... 阅读全文

posted @ 2013-09-04 23:01 Stomach_ache 阅读(127) 评论(0) 推荐(0)

HDU 1724 自适应辛普森法

摘要: 1 //很裸的积分题,直接上模板 2 #include 3 4 #include 5 6 int aa, bb; 7 8 9 //函数10 double F(double x){11 return sqrt((1-x*x/aa/aa)*bb*bb);12 }13 14 15 //三... 阅读全文

posted @ 2013-09-04 23:00 Stomach_ache 阅读(157) 评论(0) 推荐(0)

导航