0_0_28888905_12166.cpp:1:1: error: 'include' does not name a type
include<cstdio>
^
0_0_28888905_12166.cpp: In function 'int main()':
0_0_28888905_12166.cpp:27:31: error: 'scanf' was not declared in this scope
while (~scanf("%d%d",&n,&m) && n){
^
0_0_28888905_12166.cpp:56:26: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
0_0_28888905_12166.cpp:61:16: error: 'puts' was not declared in this scope
puts("");
^
|