- Owner
- Mihai Zsisku
- Problem
- Words
- Contest
- MindCoding 2017 Final 2
- Source
- 0.95KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'bool solve(std::string, int)': 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.2500s 2 Ok 0.2485s 3 Ok 0.5480s 4 Ok 0.2561s 5 Ok 0.2578s 6 Ok 0.2572s 7 Ok 0.2697s 8 Ok 0.2578s 9 Ok 0.2505s 10 Ok 0.2483s 11 Wrong answer 0.2456s