Pagini recente »
Borderou de evaluare (job #47947)
|
Borderou de evaluare (job #399125)
|
Borderou de evaluare (job #63549)
|
Borderou de evaluare (job #392943)
|
Borderou de evaluare (job #687932)
Borderou de evaluare (job #687932)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:46: warning: unused variable 'ctrl' [-Wunused-variable]
36 | int aux = a[i], counter = 0, ctrl; bool adv = true;
| ^~~~
main.cpp:53:28: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+10' to '2147483647' [-Woverflow]
53 | int max = 0, min = 10e9;
| ^~~~
main.cpp:5:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | freopen("accesibil.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:6:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | freopen("accesibil.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:29:25: warning: 'max_index' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | a[max_index] = 0;
| ~~~~~~~~~~~~~^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
134 ms
|
507 kb
|
OK
|
5
|
4
|
144 ms
|
638 kb
|
Incorect
|
0
|
5
|
154 ms
|
643 kb
|
Incorect
|
0
|
6
|
145 ms
|
643 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
110 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
11
|
1 ms
|
114 kb
|
Incorect
|
0
|
12
|
1 ms
|
110 kb
|
Incorect
|
0
|
13
|
1 ms
|
114 kb
|
Incorect
|
0
|
14
|
2 ms
|
110 kb
|
Incorect
|
0
|
15
|
1 ms
|
114 kb
|
Incorect
|
0
|
16
|
1 ms
|
114 kb
|
Incorect
|
0
|
17
|
150 ms
|
638 kb
|
Incorect
|
0
|
18
|
170 ms
|
638 kb
|
Incorect
|
0
|
19
|
1 ms
|
114 kb
|
Incorect
|
0
|
20
|
152 ms
|
638 kb
|
Incorect
|
0
|
Punctaj total
|
5
|