Pagini recente »
Borderou de evaluare (job #15075)
|
Borderou de evaluare (job #795732)
|
Borderou de evaluare (job #618919)
|
Borderou de evaluare (job #788390)
|
Borderou de evaluare (job #759782)
Borderou de evaluare (job #759782)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:16: warning: unused variable 'c' [-Wunused-variable]
11 | int n, c, nr = 0;
| ^
main.cpp:59:35: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
59 | v[j] = x[j];
| ~~~^
main.cpp:57:35: note: within this loop
57 | for (int j = 0; j <= 9; j++)
| ~~^~~~
main.cpp:59:30: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' forming offset [36, 39] is out of the bounds [0, 36] of object 'v' with type 'int [9]' [-Warray-bounds=]
59 | v[j] = x[j];
| ~~~~~^~~~~~
main.cpp:7:5: note: 'v' declared here
7 | int v[9], x[9];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
241 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
241 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
10
|