Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118129 | 罗睿妍 | 100~999的水仙花数 | C++ | Compile Error | 0 MS | 0 KB | 241 | 2025-04-24 18:18:40 |
#include <iostream> using namespace std; int main() { int i=100; int a,b,c; while(i++) { i=a*a*a+b*b*b+c*c*c; cout<<i<<" "<<endl; if i=999; braek; } } return 0;
Main.cc: In function 'int main()': Main.cc:11:12: error: expected '(' before 'i' if i=999; ^ Main.cc:12:9: error: 'braek' was not declared in this scope braek; ^ Main.cc: At global scope: Main.cc:15:6: error: expected unqualified-id before 'return' return 0; ^