摘要: #include <iostream> int main() { int num; while(std::cin>>num) { int mod, left, sum=0; left = num % 3; while(num/3) { mod = num / 3; left = num % 3; s 阅读全文
posted @ 2019-11-23 01:24 东宫得臣 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <cmath> int main() { std::string hex; while(std::cin>>hex) { int sum=0, flag=0; for(std::string::const_ 阅读全文
posted @ 2019-11-23 00:08 东宫得臣 阅读(3737) 评论(2) 推荐(0) 编辑