0_0_25641756_12627.cpp: In function 'int main()': 0_0_25641756_12627.cpp:119:32: error: expected '}' at end of input while(~scanf("%d%d",&n,&m)){ ^ 0_0_25641756_12627.cpp:119:32: error: expected '}' at end of input