Job 15074

Owner
vancea catalin
Problem
Lumber Jack and Sick Leaves
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
1.18KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(i=0;i<days.size();i++)
                  ^
prog.cpp:21:16: warning: unused variable 'j' [-Wunused-variable]
     int i,zile,j,maxi,poz,nr,a,b,ture=0;
                ^
prog.cpp:49:16: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
         a=v[poz].first;
                ^

Results

Test numberResultTime
1Ok0.2824s
2Wrong answer0.2862s
Questions?

Sponsors Gold