Hanojaus bokštai
- [1] 2019-12-07 12:31 (0)
- [2] 2019-12-07 12:33 (0)
- [3] 2019-12-07 12:34 (100)
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. | result | time | message |
---|