Borderou de evaluare (job #3282306)
Utilizator | Data | 4 martie 2025 22:51:02 | |
---|---|---|---|
Problema | Stramosi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: expected ',' or ';' before 'int'
9 | int n, m, dp[20][nmax];
| ^~~
main.cpp: In function 'int main()':
main.cpp:13:12: error: 'n' was not declared in this scope; did you mean 'yn'?
13 | fin >> n >> m;
| ^
| yn
main.cpp:13:17: error: 'm' was not declared in this scope; did you mean 'tm'?
13 | fin >> n >> m;
| ^
| tm
main.cpp:15:16: error: 'dp' was not declared in this scope; did you mean 'dup'?
15 | fin >> dp[0][i];
| ^~
| dup
main.cpp:19:13: error: 'dp' was not declared in this scope; did you mean 'dup'?
19 | dp[i][j]=dp[i-1][dp[i-1][j]];
| ^~
| dup
main.cpp:28:19: error: 'dp' was not declared in this scope; did you mean 'dup'?
28 | x=dp[j][x];
| ^~
| dup
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !