0_0_28379921_12537.cpp: In function 'int main()':
0_0_28379921_12537.cpp:36:19: error: 'gets' was not declared in this scope
while(gets(str) && str[0] != '#')
^
0_0_28379921_12537.cpp:55:27: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|