Borderou de evaluare (job #2542074)
Utilizator | Data | 9 februarie 2020 14:12:08 | |
---|---|---|---|
Problema | Inundatii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int32_t main()':
main.cpp:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;++i) fin>>x[i]>>y[i]>>z[i];x[i]-=i;y[i]-=i;z[i]-=i;
^~~
main.cpp:9:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=n;++i) fin>>x[i]>>y[i]>>z[i];x[i]-=i;y[i]-=i;z[i]-=i;
^
main.cpp:9:51: error: 'i' was not declared in this scope
for(int i=1;i<=n;++i) fin>>x[i]>>y[i]>>z[i];x[i]-=i;y[i]-=i;z[i]-=i;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !