Problem oddoneout
User Haocheng
Submission Time 2024-11-08 10:22:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oddoneout.cpp: In function ‘int32_t main()’:
oddoneout.cpp:9:6: error: ‘S’ was not declared in this scope
9 | if (S[0] == S[1]) {
| ^
oddoneout.cpp:16:22: error: ‘S’ was not declared in this scope
16 | for (int i = 0; i < S.length(); i++) {
| ^
oddoneout.cpp:20:2: error: expected ‘}’ at end of input
20 | }
| ^
oddoneout.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^