Borderou de evaluare (job #124163)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Hanoi (clasele 7-8) | Compilator | cpp |
Rundă | s20_tema2_10 | Status | evaluat |
Dată | 27 feb. 2015 10:25:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int hanoi(int, int, int, int)’:
user.cpp:7: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:18:1: error: ‘cin’ was not declared in this scope
user.cpp:18:1: note: suggested alternative:
/usr/include/c++/4.6/iostream:61:18: note: ‘std::cin’
user.cpp:17:5: warning: unused variable ‘a’ [-Wunused-variable]
user.cpp:17:7: warning: unused variable ‘b’ [-Wunused-variable]
user.cpp:17:9: warning: unused variable ‘c’ [-Wunused-variable]