0_0_33364395_17405.cpp: In function 'void solve()': 0_0_33364395_17405.cpp:94:34: error: 'k' was not declared in this scope while(~scanf("%d%d%d",&n,&m,&k)) ^