Submission #342068

#TimeUsernameProblemLanguageResultExecution timeMemory
342068IwanttobreakfreeCluedo (IOI10_cluedo)C++98
Compilation error
0 ms0 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int r; while (r!=0){ cin>>M>>L>>W; r = Theory(1,2,3); if (r == 0) return; } while (r!=0){ cin>>M>>L>>W; r = Theory(3,2,1); if (r == 0) return; } while (r!=0){ cin>>M>>L>>W; r = Theory(4,4,4); if (r == 0) return; } }

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:4: error: 'cin' was not declared in this scope
    7 |    cin>>M>>L>>W;
      |    ^~~
cluedo.cpp:7:9: error: 'M' was not declared in this scope
    7 |    cin>>M>>L>>W;
      |         ^
cluedo.cpp:7:12: error: 'L' was not declared in this scope
    7 |    cin>>M>>L>>W;
      |            ^
cluedo.cpp:7:15: error: 'W' was not declared in this scope
    7 |    cin>>M>>L>>W;
      |               ^
cluedo.cpp:11:4: error: 'cin' was not declared in this scope
   11 |    cin>>M>>L>>W;
      |    ^~~
cluedo.cpp:11:9: error: 'M' was not declared in this scope
   11 |    cin>>M>>L>>W;
      |         ^
cluedo.cpp:11:12: error: 'L' was not declared in this scope
   11 |    cin>>M>>L>>W;
      |            ^
cluedo.cpp:11:15: error: 'W' was not declared in this scope
   11 |    cin>>M>>L>>W;
      |               ^
cluedo.cpp:15:4: error: 'cin' was not declared in this scope
   15 |    cin>>M>>L>>W;
      |    ^~~
cluedo.cpp:15:9: error: 'M' was not declared in this scope
   15 |    cin>>M>>L>>W;
      |         ^
cluedo.cpp:15:12: error: 'L' was not declared in this scope
   15 |    cin>>M>>L>>W;
      |            ^
cluedo.cpp:15:15: error: 'W' was not declared in this scope
   15 |    cin>>M>>L>>W;
      |               ^