Borderou de evaluare (job #1405696)
Utilizator | Data | 29 martie 2015 15:41:20 | |
---|---|---|---|
Problema | Tic Tac | Status | done |
Runda | ONIS 2015, Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:19: warning: missing terminating " character [enabled by default]
ofstream cout("tictac.out);
^
user.cpp:10:5: error: missing terminating " character
ofstream cout("tictac.out);
^
user.cpp: In function ‘int main()’:
user.cpp:12:14: error: expected ‘)’ before ‘;’ token
int t = 0;
^
user.cpp:13:12: error: ‘t’ was not declared in this scope
cin >> t;
^
user.cpp:20:49: error: invalid operands of types ‘std::ofstream(int) {aka std::basic_ofstream<char>(int)}’ and ‘bool’ to binary ‘operator<<’
cout << ((bool)(fabs(h * 12 - m) <= eps)) << '\n';
^
user.cpp:24:10: error: request for member ‘close’ in ‘cout’, which is of non-class type ‘std::ofstream(int) {aka std::basic_ofstream<char>(int)}’
cout.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !