| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153567 | 张皓凯 | 小明养猪的故事 | C++ | Compile Error | 0 MS | 0 KB | 195 | 2026-05-23 09:26:13 |
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; for(int i=0;n<t;++i) { int n; cin>>n; cout<<n<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:7:17: error: 'n' was not declared in this scope
for(int i=0;n