Pagini recente »
Borderou de evaluare (job #311396)
|
Borderou de evaluare (job #564003)
|
Borderou de evaluare (job #528693)
|
Borderou de evaluare (job #149472)
|
Borderou de evaluare (job #664599)
Borderou de evaluare (job #664599)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:40: warning: unused variable 'j' [-Wunused-variable]
11 | int c, n, cif, x ,ogl, n1, k=0, i, j, max1=0, max2=0; // l=1, lmax=0;
| ^
main.cpp:50:19: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations]
50 | if(a[i]>max2&&a[i]!=max1) {
| ~~~^
main.cpp:48:19: note: within this loop
48 | for(i=1; i<=1000001; i++)
| ~^~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
8 ms
|
245 kb
|
Incorect
|
0
|
9
|
21 ms
|
376 kb
|
Incorect
|
0
|
10
|
39 ms
|
512 kb
|
Incorect
|
0
|
11
|
10 ms
|
114 kb
|
OK
|
5
|
12
|
1 ms
|
118 kb
|
OK
|
5
|
13
|
1 ms
|
118 kb
|
OK
|
5
|
14
|
7 ms
|
118 kb
|
OK
|
5
|
15
|
8 ms
|
249 kb
|
OK
|
5
|
16
|
11 ms
|
512 kb
|
OK
|
5
|
17
|
18 ms
|
507 kb
|
OK
|
5
|
18
|
26 ms
|
503 kb
|
OK
|
5
|
19
|
39 ms
|
1298 kb
|
OK
|
5
|
20
|
47 ms
|
2871 kb
|
OK
|
5
|
Punctaj total
|
50
|