摘要:
This problem is just like java's BigInteger:#include #include using namespace std;string format(string str){ bool zheng=true; int ppos=str.find('.'); ... 阅读全文
摘要:
已知:1,2元的硬币共n枚,能表示的钱数为[n,2n]。所以,每次去掉5元,如果剩下的钱能用1,2元表示,结果就+1。#include #include using namespace std;const int MAXN=1000000;int main(){ int t,n,m; s... 阅读全文