Pagini recente »
Borderou de evaluare (job #83314)
|
Borderou de evaluare (job #434883)
|
Borderou de evaluare (job #300714)
|
Borderou de evaluare (job #110661)
|
Borderou de evaluare (job #761888)
Borderou de evaluare (job #761888)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:14: warning: 'void* __builtin_memmove(void*, const void*, unsigned int)' offset -1 is out of the bounds [0, 505] of object 'a' with type 'char [505]' [-Warray-bounds=]
16 | a[i] = a[i - 1];
| ~~~~~^~~~~~~~~~
main.cpp:9:10: note: 'a' declared here
9 | char a[505], b[505];
| ^
main.cpp:18:14: warning: 'void* __builtin_memmove(void*, const void*, unsigned int)' offset -1 is out of the bounds [0, 505] of object 'b' with type 'char [505]' [-Warray-bounds=]
18 | b[i] = b[i - 1];
| ~~~~~^~~~~~~~~~
main.cpp:9:18: note: 'b' declared here
9 | char a[505], b[505];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
Incorect
|
0
|
2
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
503 kb
|
Incorect
|
0
|
4
|
1 ms
|
507 kb
|
Incorect
|
0
|
5
|
1 ms
|
503 kb
|
OK
|
10
|
6
|
1 ms
|
507 kb
|
OK
|
10
|
7
|
1 ms
|
1036 kb
|
Incorect
|
0
|
8
|
1 ms
|
1032 kb
|
OK
|
10
|
9
|
9 ms
|
1290 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
40
|