0_0_29723166_13144.cpp: In function 'void work()': 0_0_29723166_13144.cpp:18:26: error: expected ';' at end of input scanf ("%d%d", &n, &m) ^ 0_0_29723166_13144.cpp:18:26: error: expected '}' at end of input