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