Pagini recente » Borderou de evaluare (job #1058263) | Borderou de evaluare (job #825176) | Borderou de evaluare (job #2821906) | Borderou de evaluare (job #953357) | Borderou de evaluare (job #2860192)
Borderou de evaluare (job #2860192)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:15: warning: unused variable 'k' [-Wunused-variable]
34 | int n,i,j,k,l,a,b,x,y,xf,yf,st,dr,rightpoint=0,leftpoint=100005;
| ^
main.cpp:34:17: warning: unused variable 'l' [-Wunused-variable]
34 | int n,i,j,k,l,a,b,x,y,xf,yf,st,dr,rightpoint=0,leftpoint=100005;
| ^
main.cpp:34:33: warning: unused variable 'st' [-Wunused-variable]
34 | int n,i,j,k,l,a,b,x,y,xf,yf,st,dr,rightpoint=0,leftpoint=100005;
| ^~
main.cpp:34:36: warning: unused variable 'dr' [-Wunused-variable]
34 | int n,i,j,k,l,a,b,x,y,xf,yf,st,dr,rightpoint=0,leftpoint=100005;
| ^~
main.cpp:119:24: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
119 | if(segmente[i].first!=0)
| ~~~~~~~~~~~~^~~~~
main.cpp:117:15: note: within this loop
117 | for(i=1; i<=100005; i++)
| ~^~~~~~~~
main.cpp:58:14: warning: 'xf' may be used uninitialized in this function [-Wmaybe-uninitialized]
58 | seg[n].x2=xf;
| ~~~~~~~~~^~~
main.cpp:59:14: warning: 'yf' may be used uninitialized in this function [-Wmaybe-uninitialized]
59 | seg[n].y2=yf;
| ~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
11 | 6ms | 2351kb | Incorect | 0 |
12 | 11ms | 2449kb | Incorect | 0 |
13 | 16ms | 2564kb | Incorect | 0 |
14 | 20ms | 2621kb | Incorect | 0 |
15 | 20ms | 2502kb | Incorect | 0 |
16 | 30ms | 2531kb | Incorect | 0 |
17 | 39ms | 2662kb | Incorect | 0 |
18 | 49ms | 2695kb | Incorect | 0 |
19 | 54ms | 2801kb | Incorect | 0 |
20 | 59ms | 2994kb | Incorect | 0 |
Punctaj total | 0 |