Borderou de evaluare (job #2257292)
Utilizator | Data | 9 octombrie 2018 21:39:23 | |
---|---|---|---|
Problema | Tsunami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:11: error: variable ‘std::ifstream f’ has initializer but incomplete type
ifstream f("tsunami.in");
^
user.cpp:19:11: error: variable ‘std::ofstream g’ has initializer but incomplete type
ofstream g("tsunami.out");
^
user.cpp: In function ‘int main()’:
user.cpp:24:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
user.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i=1;i<=n;i++)
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !