0_0_18105088_26032.cpp:2:11: error: '::main' must return 'int' void main(){int n,m;while(~scanf("%d%d",&n,&m))printf("%d\n",(m-1)%n);} ^