0_0_34878973_31991.cpp: In function 'void work()': 0_0_34878973_31991.cpp:42:23: error: expected '}' at end of input scanf("%s", s); ^ 0_0_34878973_31991.cpp:42:23: error: expected '}' at end of input