Hanojaus bokštai

Taškai: 0

Compile: FAIL

hanoj.cpp: In function ‘int main()’: hanoj.cpp:7:16: error: conflicting declaration ‘std::ofstream fd’ ofstream fd("hanoj.out"); ^ hanoj.cpp:6:14: note: previous declaration as ‘std::ifstream fd’ ifstream fd("hanoj.in"); ^ hanoj.cpp: In function ‘void kelk(int, char, char, char)’: hanoj.cpp:17:5: error: ‘fr’ was not declared in this scope fr << nuo << " -> " << ant << endl; ^

nr.resulttimemessage