Problem oddoneout
User garrett
Submission Time 2024-11-08 11:18:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oddoneout.cpp: In function ‘int main()’:
oddoneout.cpp:2:5: error: ‘string’ was not declared in this scope
2 | string S;
| ^~~~~~
oddoneout.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> S;
| ^~~
oddoneout.cpp:3:12: error: ‘S’ was not declared in this scope
3 | cin >> S;
| ^
oddoneout.cpp:7:17: error: ‘cout’ was not declared in this scope
7 | cout << i + 1;
| ^~~~
oddoneout.cpp:13:13: error: ‘cout’ was not declared in this scope
13 | cout << 2 << endl;
| ^~~~
oddoneout.cpp:13:26: error: ‘endl’ was not declared in this scope
13 | cout << 2 << endl;
| ^~~~
oddoneout.cpp:15:13: error: ‘cout’ was not declared in this scope
15 | cout << 1 << endl;
|