0_0_26915491_20025.cpp: In function 'int main()':
0_0_26915491_20025.cpp:26:9: error: 'cin' was not declared in this scope
while (cin >> M >> N && (M != 0 || N != 0))
^
0_0_26915491_20025.cpp:26:16: error: 'M' was not declared in this scope
while (cin >> M >> N && (M != 0 || N != 0))
^
0_0_26915491_20025.cpp:26:21: error: 'N' was not declared in this scope
while (cin >> M >> N && (M != 0 || N != 0))
^
0_0_26915491_20025.cpp:45:3: error: 'cout' was not declared in this scope
cout << cnt << endl;
^
0_0_26915491_20025.cpp:45:18: error: 'endl' was not declared in this scope
cout << cnt << endl;
^
|