Job 19546

Owner
Patcas Csaba
Problem
Keyboard
Contest
MindCoding 2017 Round 3 Take Off Labs (Div. 1)
Source
1.92KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'std::pair<int, int> findKey(char)':
prog.cpp:38:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define FORN(i, n) for(int i = 0; i < (n); ++i)
                                     ^
prog.cpp:65:5: note: in expansion of macro 'FORN'
     FORN(j, keys[i].SZ)
     ^
prog.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Results

Test numberResultTime
1Ok0.4319s
2Ok0.3911s
3Ok0.4180s
4Wrong answer0.3819s
Questions?

Sponsors Gold