Job 14943

Owner
Babuta Rares Mihai
Problem
Lumber Jack and Sick Leaves
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
1.15KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:41:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (k < daysSkipped.size())
           ^
prog.cpp:54:48: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
   while (k < n && daysSkipped[k] <= scutiri[poz].second) k++;
                                                ^

Results

Test numberResultTime
1Ok0.2658s
2Wrong answer0.2724s
Questions?

Sponsors Gold