Problem | oddoneout |
---|---|
User | PlayVoltz |
Submission Time | 2024-11-09 23:03:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oddoneout.cpp: In function ‘int main()’:
oddoneout.cpp:10:56: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
10 | for (int i=0; i<s.size(); ++i)if (s[i]!=c){cout<<i+1;return;}
| ^~~~~~