- Owner
- Alexa Tudose
- Problem
- Morse
- Contest
- MindCoding 2017 Round 1 (Div. 1)
- Source
- 0.91KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'std::string morse(std::string)': prog.cpp:12:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<s.size(); ++i) ^ prog.cpp:13:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<code[s[i]-'a'].size(); ++j) ^
Results
Test number Result Time 1 Ok 0.2540s 2 Ok 0.2607s 3 Ok 0.2516s 4 Ok 0.2590s 5 Ok 0.2596s 6 Ok 0.3814s 7 Ok 0.4794s 8 Ok 0.2507s 9 Ok 0.2478s 10 Ok 0.4055s 11 Ok 0.4320s 12 Ok 0.4084s 13 Ok 0.3460s 14 Ok 0.4479s