Borderou de evaluare (job #124123)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Hanoi (clasele 7-8) | Compilator | cpp |
Rundă | s20_tema2_10 | Status | evaluat |
Dată | 27 feb. 2015 10:02:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:11: error: variable ‘std::ifstream f’ has initializer but incomplete type
user.cpp:4:11: error: variable ‘std::ofstream g’ has initializer but incomplete type
user.cpp: In function ‘int hanoi(int, int, int, int)’:
user.cpp:8:14: warning: left operand of comma operator has no effect [-Wunused-value]
user.cpp:10:27: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:10:44: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp: In function ‘int main()’:
user.cpp:14:5: warning: unused variable ‘a’ [-Wunused-variable]
user.cpp:14:7: warning: unused variable ‘b’ [-Wunused-variable]
user.cpp:14:9: warning: unused variable ‘c’ [-Wunused-variable]