0_0_20504239_9753.cpp: In function 'int main()': 0_0_20504239_9753.cpp:42:40: error: expected '}' at end of input scanf("%d%d%d%d%d",&a,&b,&c,&d,&k); ^ 0_0_20504239_9753.cpp:42:40: error: expected '}' at end of input