0_0_18268557_23859.cpp: In function 'int main()':
0_0_18268557_23859.cpp:14:8: error: 'cin' was not declared in this scope
while(cin>>n&&n)
^
0_0_18268557_23859.cpp:27:5: error: 'cout' was not declared in this scope
cout<<arr[0][0]+arr[2][0]+arr[0][2]+arr[2][2]+arr[1][1]<<' '<<0<<endl;
^
0_0_18268557_23859.cpp:27:70: error: 'endl' was not declared in this scope
cout<<arr[0][0]+arr[2][0]+arr[0][2]+arr[2][2]+arr[1][1]<<' '<<0<<endl;
^
0_0_18268557_23859.cpp:31:5: error: 'cout' was not declared in this scope
cout<<arr[0][1]+arr[1][0]+arr[1][2]+arr[2][1]+arr[1][1]<<' '<<1<<endl;
^
0_0_18268557_23859.cpp:31:70: error: 'endl' was not declared in this scope
cout<<arr[0][1]+arr[1][0]+arr[1][2]+arr[2][1]+arr[1][1]<<' '<<1<<endl;
^
0_0_18268557_23859.cpp:61:4: error: 'cout' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
0_0_18268557_23859.cpp:61:26: error: 'endl' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
0_0_18268557_23859.cpp:107:4: error: 'cout' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
0_0_18268557_23859.cpp:107:26: error: 'endl' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
0_0_18268557_23859.cpp:169:4: error: 'cout' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
0_0_18268557_23859.cpp:169:26: error: 'endl' was not declared in this scope
cout<<sum<<' '<<step<<endl;
^
|