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