Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
2105 | 张弛 | 将任何一个正整数的立方写成一组相邻奇数之和 | C++ | 运行出错 | 0 | 0 MS | 248 KB | 188 | 2019-11-08 18:18:16 |
#include<iostream> #include<cstdio> using namespace std; int main() { int x; x=1992*1992; while(x>100) { x%=10; x/10; } cout<<x<<endl; system("pause"); return 0; }