Pagini recente » Borderou de evaluare (job #2102065) | Borderou de evaluare (job #728804) | Borderou de evaluare (job #1196451) | Borderou de evaluare (job #1991302) | Borderou de evaluare (job #3186320)
Borderou de evaluare (job #3186320)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:11: warning: unused variable 'x' [-Wunused-variable]
22 | int n,x,i,p,div,j,cx;
| ^
main.cpp:22:15: warning: unused variable 'p' [-Wunused-variable]
22 | int n,x,i,p,div,j,cx;
| ^
main.cpp:22:17: warning: unused variable 'div' [-Wunused-variable]
22 | int n,x,i,p,div,j,cx;
| ^~~
main.cpp:22:21: warning: unused variable 'j' [-Wunused-variable]
22 | int n,x,i,p,div,j,cx;
| ^
main.cpp:22:23: warning: unused variable 'cx' [-Wunused-variable]
22 | int n,x,i,p,div,j,cx;
| ^~
main.cpp: In function 'void implciur()':
main.cpp:10:16: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
10 | ciur[j]=j;
| ~~~~~~~^~
main.cpp:9:14: note: within this loop
9 | for(j=2;j<=1000001;j++){
| ~^~~~~~~~~
main.cpp:13:18: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | if(ciur[j]==j)
| ~~~~~~^
main.cpp:12:14: note: within this loop
12 | for(j=2;j<=1000001;j++){
| ~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 4227kb | Ok! | 10 |
2 | 8ms | 4227kb | Ok! | 10 |
3 | 8ms | 4227kb | Ok! | 10 |
4 | 8ms | 4227kb | Ok! | 10 |
5 | 8ms | 4227kb | Ok! | 10 |
6 | 8ms | 4227kb | Ok! | 10 |
7 | 8ms | 4227kb | Ok! | 10 |
8 | 8ms | 4227kb | Ok! | 10 |
9 | 9ms | 4227kb | Ok! | 10 |
10 | 9ms | 4227kb | Ok! | 10 |
Punctaj total | 100 |