/in/foo.cc: In function 'int main()':
/in/foo.cc:3:2: error: 'cin' was not declared in this scope
cin >> n;
^
/in/foo.cc:8:30: error: 'abs' was not declared in this scope
if (abs(arr1[0] - arr2[0]+26)%26 == abs(arr1[1] - arr2[1]+26)%26) {
^
/in/foo.cc:15:4: error: 'cout' was not declared in this scope
cout << arr3[j];
^
/in/foo.cc:17:3: error: 'cout' was not declared in this scope
cout << endl;
^
/in/foo.cc:17:11: error: 'endl' was not declared in this scope
cout << endl;
^
/in/foo.cc:20:30: error: 'abs' was not declared in this scope
if (abs(arr2[0] - arr3[0]+26)%26 == abs(arr2[1] - arr3[1]+26)%26) {
^
/in/foo.cc:27:4: error: 'cout' was not declared in this scope
cout << arr1[j];
^
/in/foo.cc:29:3: error: 'cout' was not declared in this scope
cout << endl;
^
/in/foo.cc:29:11: error: 'endl' was not declared in this scope
cout << endl;
^
/in/foo.cc:32:30: error: 'abs' was not declared in this scope
if (abs(arr3[0] - arr1[0]+26)%26 == abs(arr3[1] - arr1[1]+26)%26) {
^
/in/foo.cc:39:4: error: 'cout' was not declared in this scope
cout << arr2[j];
^
/in/foo.cc:41:3: error: 'cout' was not declared in this scope
cout << endl;
^
/in/foo.cc:41:11: error: 'endl' was not declared in this scope
cout << endl;
^