639 | 2021-11-06 23:03:53 | kovacs.peter.18f | Toronyépítés (2,2,3,3) | cpp11 | Compilation error |
#include<iostream>
int N;bool main(){std::cin>>N;return(N&(1<<0))>0;}
exit status 1main.cpp:2:7: error: ‘::main’ must return ‘int’
2 | int N;bool main(){std::cin>>N;return(N&(1<<0))>0;}
| ^~~~
Exited with error status 1