随笔分类 - UVA
摘要:1 /* 2 UVA11752 The Super Powers 3 https://vjudge.net/contest/153365#problem/Y 4 数论 5 注意a^n=b要用除法求,并且求得的n比实际大1 6 */ 7 #include 8 #include 9 #include 10 #include 11 #include 12 #in...
阅读全文
摘要:1 /* 2 UVA11827 Maximum GCD 3 https://vjudge.net/contest/153365#problem/V 4 数论 gcd 5 水题,然而读入比较坑 6 * 7 */ 8 #include 9 #include 10 #include 11 #include 12 #include 13 #include 14...
阅读全文
摘要:1 /* 2 UVA10200 Prime Time 3 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1141 4 素数 概率论 暴力 5 6 输出的时候加1e-5到1e-14都能过,不加就wa,不是很懂 7 * 8 ...
阅读全文
浙公网安备 33010602011771号