| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158147 | 林睿 | 统计硬币 | C++ | Compile Error | 0 MS | 0 KB | 313 | 2026-08-20 16:49:26 |
#include<iostream> using namespace std; int main() { for(int i=0;i<t;i++){ int n,m,cnt=0; cin>>n>>m; for(int z=0;z<=m/5;z++) { for(int y=0;y<=n/2;y++) { int x=n-x-y; if(x+2y+5z==m)cnt++; } } cout<<cnt; } return 0; }
Main.cc: In function 'int main()': Main.cc:5:16: error: 't' was not declared in this scope for(int i=0;i