0_0_28614633_28491.cpp: In function 'int main()': 0_0_28614633_28491.cpp:47:31: error: 's' was not declared in this scope while(~scanf("%d%d%d",&n,&m,&s)){ ^