Borderou de evaluare (job #2598378)
Utilizator | Data | 11 aprilie 2020 12:31:34 | |
---|---|---|---|
Problema | Operatie | Status | done |
Runda | Fmi No Stress 9 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:14: error: conflicting declaration 'int v [1007][31]'
int v[DIM][31];
^
main.cpp:10:5: note: previous declaration as 'int v [1007][1007]'
int v[DIM][DIM];
^
main.cpp: In function 'int main()':
main.cpp:65:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = b + 1; i <= 31; i++)
^~~
main.cpp:72:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i = 1; i <= n; i++)
^~~
main.cpp:19:9: warning: unused variable 'maxnr' [-Wunused-variable]
int maxnr = (1 << b);
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !