Pagini recente » Borderou de evaluare (job #2508351) | Borderou de evaluare (job #4006) | Borderou de evaluare (job #204698) | Borderou de evaluare (job #2170323) | Borderou de evaluare (job #3181876)
Borderou de evaluare (job #3181876)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:13: warning: unused variable 'cnt' [-Wunused-variable]
40 | int cnt=0;
| ^~~
main.cpp:19:18: warning: iteration 29 invokes undefined behavior [-Waggressive-loop-optimizations]
19 | f1[i]=0;
| ~~~~~^~
main.cpp:17:23: note: within this loop
17 | for(int i=1; i<=30; i++)
| ~^~~~
main.cpp:19:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [120, 123] is out of the bounds [0, 120] of object 'f1' with type 'int [30]' [-Warray-bounds]
19 | f1[i]=0;
| ~~~~~^~
main.cpp:3:11: note: 'f1' declared here
3 | int t,n,k,f1[30],f2[30],f3[30];
| ^~
main.cpp:20:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [120, 123] is out of the bounds [0, 120] of object 'f2' with type 'int [30]' [-Warray-bounds]
20 | f2[i]=0;
| ~~~~~^~
main.cpp:3:18: note: 'f2' declared here
3 | int t,n,k,f1[30],f2[30],f3[30];
| ^~
main.cpp:21:18: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [120, 123] is out of the bounds [0, 120] of object 'f3' with type 'int [30]' [-Warray-bounds]
21 | f3[i]=0;
| ~~~~~^~
main.cpp:3:25: note: 'f3' declared here
3 | int t,n,k,f1[30],f2[30],f3[30];
| ^~
main.cpp:22:19: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [120, 123] is out of the bounds [0, 120] of object 'yes' with type 'int [30]' [-Warray-bounds]
22 | yes[i]=0;
| ~~~~~~^~
main.cpp:4:6: note: 'yes' declared here
4 | int yes[30];
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Lungimea sirului nu este buna. | 0 |
2 | 0ms | 303kb | Lungimea sirului nu este buna. | 0 |
3 | 1ms | 303kb | Lungimea sirului nu este buna. | 0 |
4 | 89ms | 524kb | Lungimea sirului nu este buna. | 0 |
5 | 1ms | 303kb | Lungimea sirului nu este buna. | 0 |
6 | 7ms | 303kb | Lungimea sirului nu este buna. | 0 |
7 | 84ms | 516kb | Lungimea sirului nu este buna. | 0 |
8 | 14ms | 557kb | Lungimea sirului nu este buna. | 0 |
9 | 44ms | 892kb | Lungimea sirului nu este buna. | 0 |
10 | 54ms | 880kb | Lungimea sirului nu este buna. | 0 |
11 | 19ms | 557kb | Lungimea sirului nu este buna. | 0 |
12 | 44ms | 864kb | Lungimea sirului nu este buna. | 0 |
Punctaj total | 0 |