摘要:
#快速幂运算 typedef long long ll; ll quick_pow(ll x, ll n, ll mod){ ll res=1; while(n){ if(n & 1) res = res * x % mod; x = x * x % mod; n >>= 1; } return r 阅读全文
posted @ 2020-06-26 17:01
XuPengbo
阅读(23)
评论(0)
推荐(0)
摘要:
输入输出知识归纳总结 利用 stringstream 分割字符串 //方法1 include<sstream> //头文件 using namespace std; stringstream ss; string str, st; st = "abc,def,gh"; ss << st; while 阅读全文
posted @ 2020-06-26 10:46
XuPengbo
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号