Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153811 杨宸铭 12for循环练习I C++ Compile Error 0 MS 0 KB 186 2026-05-24 09:46:25

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n; for(n=1;0<n<100;n++){ cout<<"1"<<n<<"数字"<<endl; } N cout<<"n"; return 0; }


Run Info:

Main.cc:9:5: error: stray '\357' in program
     cout<<"n";   
     ^
Main.cc:9:5: error: stray '\274' in program
Main.cc:9:5: error: stray '\233' in program
Main.cc: In function 'int main()':
Main.cc:6:16: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
     for(n=1;0