摘要:
#include #include using namespace std; int main() { int r,n,ans=0; stacks; cin>>n>>r; while(n) { s.push(n%r); n/=r; } while(!s.empty()) { ans... 阅读全文
posted @ 2019-08-05 13:04
zhanghua-01
阅读(120)
评论(0)
推荐(0)
摘要:
#include #include using namespace std; int main() { int r, n; stacks; cin >> n >> r; while (n) { s.push(n % r); n /= r; } while (!s.empty()) { switch (s.to... 阅读全文
posted @ 2019-08-05 13:02
zhanghua-01
阅读(258)
评论(0)
推荐(0)
摘要:
#include using namespace std; int main() { string n; int m, len, i, ans = 0; cin >> n >> m; len = n.length(); for (i = 0; i < len; i++) { if (n[i] <= '9') ans = ans ... 阅读全文
posted @ 2019-08-05 12:59
zhanghua-01
阅读(382)
评论(0)
推荐(0)

浙公网安备 33010602011771号