0_0_15845390_30571.cpp: In function 'int main()': 0_0_15845390_30571.cpp:21:5: error: expected initializer before 'while' while(~scanf("%d %lld",&n,&mod)) ^ 0_0_15845390_30571.cpp:43:1: error: expected '}' at end of input } ^