0_0_33258441_629.cpp: In function 'int main()': 0_0_33258441_629.cpp:70:30: error: expected '}' at end of input scanf("%d%d", &N, &M); ^ 0_0_33258441_629.cpp:70:30: error: expected '}' at end of input