0_0_24259946_32608.cpp: In function 'int main()': 0_0_24259946_32608.cpp:13:35: error: 'K' was not declared in this scope while(scanf("%d %d %d %d",&n,&m,&K,&s)==4) ^