Problem askonegetonefree
User Lukameladze
Submission Time 2024-06-20 14:00:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

askonegetonefree.cpp: In function ‘Answer guess(int)’:
askonegetonefree.cpp:9:7: error: ‘n’ was not declared in this scope
9 | r=n;
| ^
askonegetonefree.cpp:4:12: error: ‘struct AnswerTag’ has no member named ‘first’
4 | #define ff first
| ^~~~~
askonegetonefree.cpp:14:19: note: in expansion of macro ‘ff’
14 | if(answer.ff==1 and answer.ss==1){
| ^~
askonegetonefree.cpp:5:12: error: ‘struct AnswerTag’ has no member named ‘second’
5 | #define ss second
| ^~~~~~
askonegetonefree.cpp:14:36: note: in expansion of macro ‘ss’
14 | if(answer.ff==1 and answer.ss==1){
| ^~
askonegetonefree.cpp:4:12: error: ‘struct AnswerTag’ has no member named ‘first’
4 | #define ff first
| ^~~~~
askonegetonefree.cpp:28:19: note: in expansion of macro ‘ff’
28 | if(answer.ff