Borderou de evaluare (job #2463830)
Utilizator | Data | 28 septembrie 2019 13:06:18 | |
---|---|---|---|
Problema | Cobai | 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:12:5: error: expected ',' or ';' before 'ofstream'
ofstream g("cobai.out")
^~~~~~~~
main.cpp:20:14: error: 'c' was not declared in this scope
while(f>>c)
^
main.cpp:35:33: error: 'l' was not declared in this scope
for(l=1;l!='+';l++)
^
main.cpp:36:25: error: expected primary-expression before '}' token
}
^
main.cpp:27:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=M;i++)
^~~
main.cpp:42:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
f.close();
^
main.cpp:43:13: error: 'g' was not declared in this scope
g.close();
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !