Borderou de evaluare (job #2653523)
Utilizator | Data | 28 septembrie 2020 13:29:28 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:11: error: variable 'std::ifstream f' has initializer but incomplete type
ifstream f("pluton.in");
^
main.cpp:6:11: error: variable 'std::ofstream g' has initializer but incomplete type
ofstream g("pluton.out");
^
main.cpp: In function 'int main()':
main.cpp:21:19: warning: right operand of comma operator has no effect [-Wunused-value]
for (k=9,k>=0;k--)
~^~~
main.cpp:21:26: error: expected ';' before ')' token
for (k=9,k>=0;k--)
^
main.cpp:64:9: error: expected ';' before '}' token
}
^
main.cpp:12:28: warning: unused variable 'm' [-Wunused-variable]
int n, i, k, j, copie, m, p=1, nr=0, pluton=0, aux, sem, mx;
^
main.cpp:12:52: warning: unused variable 'aux' [-Wunused-variable]
int n, i, k, j, copie, m, p=1, nr=0, pluton=0, aux, sem, mx;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !