Pagini recente »
Borderou de evaluare (job #288499)
|
Borderou de evaluare (job #55495)
|
Borderou de evaluare (job #364710)
|
Borderou de evaluare (job #929)
|
Borderou de evaluare (job #687926)
Borderou de evaluare (job #687926)
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: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
|
125 ms
|
634 kb
|
OK
|
5
|
4
|
145 ms
|
643 kb
|
Incorect
|
0
|
5
|
153 ms
|
638 kb
|
Incorect
|
0
|
6
|
148 ms
|
643 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
11
|
1 ms
|
118 kb
|
Incorect
|
0
|
12
|
1 ms
|
118 kb
|
Incorect
|
0
|
13
|
1 ms
|
118 kb
|
Incorect
|
0
|
14
|
1 ms
|
118 kb
|
Incorect
|
0
|
15
|
1 ms
|
118 kb
|
Incorect
|
0
|
16
|
1 ms
|
118 kb
|
Incorect
|
0
|
17
|
144 ms
|
643 kb
|
Incorect
|
0
|
18
|
155 ms
|
638 kb
|
Incorect
|
0
|
19
|
1 ms
|
110 kb
|
Incorect
|
0
|
20
|
146 ms
|
638 kb
|
Incorect
|
0
|
Punctaj total
|
5
|