Borderou de evaluare (job #3217070)
Utilizator | Data | 20 martie 2024 21:37:12 | |
---|---|---|---|
Problema | Pitici3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:22: error: 'nmz' was not declared in this scope; did you mean 'nmx'?
5 | int n,d,total,rsp,dp[nmz][nmz];
| ^~~
| nmx
main.cpp:5:27: error: 'nmz' was not declared in this scope; did you mean 'nmx'?
5 | int n,d,total,rsp,dp[nmz][nmz];
| ^~~
| nmx
main.cpp:6:18: error: 'nmz' was not declared in this scope; did you mean 'nmx'?
6 | pair <int,int> v[nmz];
| ^~~
| nmx
main.cpp: In function 'int main()':
main.cpp:14:12: error: 'v' was not declared in this scope
14 | f>>v[i].first>>v[i].second;
| ^
main.cpp:18:10: error: 'v' was not declared in this scope
18 | sort(v+1,v+n+1);
| ^
main.cpp:21:13: error: 'dp' was not declared in this scope; did you mean 'd'?
21 | dp[i][j]=-1e9;
| ^~
| d
main.cpp:23:9: error: 'dp' was not declared in this scope; did you mean 'd'?
23 | dp[i][0]=total;
| ^~
| d
main.cpp:27:13: error: 'dp' was not declared in this scope; did you mean 'd'?
27 | dp[i][j]=dp[i-1][j];
| ^~
| d
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !