Borderou de evaluare (job #3181838)
Utilizator | Data | 8 decembrie 2023 01:17:58 | |
---|---|---|---|
Problema | Secventa 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for (int i = 1+k ; i<=n;i++)
| ^~~
main.cpp:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
20 | if (v[i-k]<minim ) minim = v[i],minim_inceput=i-k;
| ^~
main.cpp: At global scope:
main.cpp:22:5: error: 'fout' does not name a type
22 | fout<<indice_inceput<<" "<<indice_final<<" "<<best_sum;
| ^~~~
main.cpp:23:5: error: expected unqualified-id before 'return'
23 | return 0;
| ^~~~~~
main.cpp:24:1: error: expected declaration before '}' token
24 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !