Pagini recente »
Borderou de evaluare (job #575538)
|
Borderou de evaluare (job #421671)
|
Borderou de evaluare (job #812807)
Borderou de evaluare (job #812807)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:67:13: warning: unused variable 'minn' [-Wunused-variable]
67 | int minn=100,poz;
| ^~~~
main.cpp:67:22: warning: unused variable 'poz' [-Wunused-variable]
67 | int minn=100,poz;
| ^~~
main.cpp:18:19: warning: iteration 99 invokes undefined behavior [-Waggressive-loop-optimizations]
18 | randuri[i]=i*i;
| ~~~~~~~~~~^~~~
main.cpp:17:20: note: within this loop
17 | for (int i=1; i<=100; i++){
| ~^~~~~
main.cpp:32:14: warning: 'rand' may be used uninitialized [-Wmaybe-uninitialized]
32 | for (int i=sp[rand]; i>sp[rand-1]; i--){
| ^
main.cpp:21:11: note: 'rand' was declared here
21 | int n,rand;
| ^~~~
main.cpp:62:28: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
62 | dpoz[j+sp[i-1]]=poz;
| ~~~~~~~~~~~~~~~^~~~
main.cpp:38:20: note: 'poz' was declared here
38 | int adun=0,poz;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
249 kb
|
OK
|
10
|
5
|
9 ms
|
512 kb
|
OK
|
10
|
6
|
19 ms
|
765 kb
|
OK
|
10
|
7
|
19 ms
|
765 kb
|
OK
|
10
|
8
|
19 ms
|
774 kb
|
OK
|
10
|
9
|
19 ms
|
1032 kb
|
OK
|
10
|
10
|
1 ms
|
507 kb
|
OK
|
10
|
Punctaj total
|
100
|