| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74146 | Kevin | 统计硬币 | C++ | Compile Error | 0 MS | 0 KB | 322 | 2024-05-23 14:54:31 |
#include<bits/stdc++.h> using namespace std; int mian() { int t,n,m,cishu=0; cin>>t; for(int i=1;i<=t;i++){ cin>>n>>m; for(int yi=0;yi<=n;yi++){ for(int er=0;er<=n;er++){ for(int wu=0;wu<=n;wu++){ if(yi+er*2+wu*5==m) cishu++; } } } cout<<cishu<<endl; } return 0; }
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status