摘要: 老生常谈的问题,留商取余; #include<iostream> #include<string> using namespace std; int n; string charge(int n) { string s=""; while (n != 0) { int r = n % 8; s = 阅读全文
posted @ 2020-04-11 17:59 暮云林凌 阅读(399) 评论(0) 推荐(0)
摘要: 没啥难度,还是难以判断测试用例的问题,也就是k是否大于10,否则就会采用字符串进行判断; #include<iostream> #include<vector> #include<queue> #include<string> using namespace std; int n, k; struc 阅读全文
posted @ 2020-04-11 17:45 暮云林凌 阅读(223) 评论(0) 推荐(0)