Job 18087

Owner
Nechita Sebastian
Problem
Morse
Contest
MindCoding 2017 Round 1 (Div. 1)
Source
1.33KB
Result
Accepted

Compiler output

prog.cpp: In function 'std::pair<int, int> buildHash(char*)':
prog.cpp:20:29: warning: array subscript has type 'char' [-Wchar-subscripts]
         for(j = 0 ; sir[c[i]][j] ; j++)
                             ^
prog.cpp:22:30: warning: array subscript has type 'char' [-Wchar-subscripts]
             litera = sir[c[i]][j];
                              ^
prog.cpp: In function 'int main()':
prog.cpp:45:21: warning: array subscript has type 'char' [-Wchar-subscripts]
         cin >> sir[c];
                     ^

Results

Test numberResultTime
1Ok0.2464s
2Ok0.2717s
3Ok0.2564s
4Ok0.2590s
5Ok0.2512s
6Ok0.2963s
7Ok0.3445s
8Ok0.2578s
9Ok0.2493s
10Ok0.3324s
11Ok0.3321s
12Ok0.3074s
13Ok0.2952s
14Ok0.3200s
Questions?

Sponsors Gold