6392021-11-06 23:03:53kovacs.peter.18fToronyépítés (2,2,3,3)cpp11Compilation error
#include<iostream>
int N;bool main(){std::cin>>N;return(N&(1<<0))>0;}
Compilation error
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