Job 14226

Owner
Alexandru
Problem
50 Shades of Prime
Source
0.77KB
Result
Time Limit Exceeded

Compiler output

prog.cpp: In function 'void citeste(long long unsigned int&)':
prog.cpp:9:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
     while(!(a>=0 && a<=1000000000000000));
              ^
prog.cpp: In function 'int main()':
prog.cpp:37:13: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if(x==a && y==b)
             ^
prog.cpp:38:19: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
         cout<<b-a+1;
                   ^

Results

Test numberResultTime
1Ok0.2590s
2Ok0.2658s
3Ok0.2571s
4Ok0.3149s
5Time Limit Exceeded10.2536s
Questions?

Sponsors Gold