0_0_27616894_20143.cpp:1:11: error: '::main' must return 'int'
void main()
^
0_0_27616894_20143.cpp: In function 'int main()':
0_0_27616894_20143.cpp:5:30: error: 'scanf' was not declared in this scope
while (scanf("%d %d", &m, &n) != EOF)
^
0_0_27616894_20143.cpp:5:35: error: 'EOF' was not declared in this scope
while (scanf("%d %d", &m, &n) != EOF)
^
0_0_27616894_20143.cpp:22:24: error: 'printf' was not declared in this scope
printf("%d %d\n", x,y);
^
0_0_27616894_20143.cpp:24:16: error: 'system' was not declared in this scope
system("pause");
^
|