Job 18857

Owner
Dobos Paul
Problem
Bits
Contest
MindCoding 2017 Round 2 Bosch (Div. 1)
Source
0.65KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 1; i <= n; i++){
                      ^
prog.cpp:36:30: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
         for(;kk > 0 && k - 1 >= 0;kk--,k--)
                              ^

Results

Test numberResultTime
1Ok0.2444s
2Ok0.2463s
3Wrong answer0.3050s
Questions?

Sponsors Gold