- Owner
- Bogdan Seniuc
- Problem
- Morse
- Contest
- MindCoding 2017 Round 1 (Div. 1)
- Source
- 0.89KB
- Result
- Time Limit Exceeded
Compiler output
prog.cpp: In function 'int main()': prog.cpp:15:21: warning: array subscript has type 'char' [-Wchar-subscripts] cin >> map[c]; ^ prog.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < word.size(); j++) ^ prog.cpp:23:36: warning: array subscript has type 'char' [-Wchar-subscripts] words[i] += map[word[j]]; ^
Results
Test number Result Time 1 Ok 0.2469s 2 Ok 0.2524s 3 Ok 0.2506s 4 Ok 0.2620s 5 Ok 0.2588s 6 Ok 1.1509s 7 Time Limit Exceeded 1.7381s