Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2488 | 杨洋杰 | [在线测评解答教程] 求和 | C++ | Compile Error | 0 MS | 0 KB | 154 | 2024-01-06 18:04:31 |
#include<iostream> using namespace std; int main(){ int n,i=1; cin>>n; whlie(i<=n){ i=i+i+1; i++; } return 0; }
Main.cc: In function 'int main()': Main.cc:6:15: error: 'whlie' was not declared in this scope whlie(i<=n){ ^ Main.cc:6:16: error: expected ';' before '{' token whlie(i<=n){ ^