Problem alienalien
User reporter
Submission Time 2023-08-14 09:32:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

alienalien.cpp: In function ‘int main()’:
alienalien.cpp:1:13: error: ‘cin’ was not declared in this scope; did you mean ‘fin’?
1 | #define fin cin
| ^~~
alienalien.cpp:9:2: note: in expansion of macro ‘fin’
9 | fin >> n;
| ^~~
alienalien.cpp:2:14: error: ‘cout’ was not declared in this scope; did you mean ‘fout’?
2 | #define fout cout
| ^~~~
alienalien.cpp:26:15: note: in expansion of macro ‘fout’
26 | if (correct) fout << "YES";
| ^~~~
alienalien.cpp:2:14: error: ‘cout’ was not declared in this scope; did you mean ‘fout’?
2 | #define fout cout
| ^~~~
alienalien.cpp:27:7: note: in expansion of macro ‘fout’
27 | else fout << "NO";
| ^~~~