| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158153 | 统计硬币 | C++ | Compile Error | 0 MS | 0 KB | 382 | 2026-08-20 16:53:12 |
include<bit/stdc++.h> using namespace std; int main(){ long long T,n,m; cin>>T; for(int i=0;i<T;i++){ cim>>n>>m; int cnt=0; for(int x=0;x<=n;x++){ for(int y=0;y<=m/z;y++){ int z=n-x-y; if(z>=0 && x+y*2+z*5==m){ cnt++; } } } } cout<<cnt; return 0; }
Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin>>T;
^
Main.cc:7:6: error: 'cim' was not declared in this scope
cim>>n>>m;
^
Main.cc:10:27: error: 'z' was not declared in this scope
for(int y=0;y<=m/z;y++){
^
Main.cc:18:5: error: 'cout' was not declared in this scope
cout<