Borderou de evaluare (job #2641867)
Utilizator | Data | 12 august 2020 22:30:23 | |
---|---|---|---|
Problema | Economie | 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:30:33: error: 'k' was not declared in this scope
for(k=1; k<=n; k++)
^
main.cpp:26:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=v[1]; i<=v[n]; i++)
^~~
main.cpp:44:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
g<<z<<endl;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !