Borderou de evaluare (job #2808705)
Utilizator | Data | 25 noiembrie 2021 14:43:14 | |
---|---|---|---|
Problema | Oz | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:17: error: 'NAMX' was not declared in this scope; did you mean 'NMAX'?
8 | int n,m,j,k,i,v[NAMX],v1[NMAX],sol,a,b,r,o[NMAX],d[NMAX];
| ^~~~
| NMAX
main.cpp: In function 'int main()':
main.cpp:13:14: error: 'v' was not declared in this scope
13 | cin>>v[i]>>v1[i]>>d[i];
| ^
main.cpp:18:13: error: 'v' was not declared in this scope
18 | a=o[v[i]];
| ^
main.cpp:39:13: error: 'v' was not declared in this scope
39 | a=o[v[i]];
| ^
main.cpp:55:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
55 | for(i=1; i<=n; i++)
| ^~~
main.cpp:57:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
57 | return 0;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !