- Owner
- Mihai Zsisku
- Problem
- Words
- Contest
- MindCoding 2017 Final 2
- Source
- 0.93KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'bool solve(std::string)': prog.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<s.size(); i++){ ^ prog.cpp:22:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=i+1; j<stri.size(); j++)a+=stri[j]; ^ prog.cpp: In function 'int main()': prog.cpp:40:10: warning: unused variable 'ok' [-Wunused-variable] bool ok=false; ^
Results
Test number Result Time 1 Ok 0.2515s 2 Ok 0.2523s 3 Wrong answer 0.5431s