Pagini recente »
Borderou de evaluare (job #848517)
Borderou de evaluare (job #848517)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:59:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | fscanf(cin,"%d%d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:62:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | fscanf(cin,"%d", &v[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:72:29: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
72 | vecin[y]=0;
| ~~~~~~~~^~
main.c:71:30: note: within this loop
71 | for(int y=0;y<=100;y++){
| ~^~~~~
main.c:77:29: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
77 | if(vecin[y]==1){
| ~~~~~^~~
main.c:76:30: note: within this loop
76 | for(int y=0;y<=100;y++){
| ~^~~~~
main.c:72:29: warning: '__builtin_memset' forming offset [400, 403] is out of the bounds [0, 400] of object 'vecin' with type 'int[100]' [-Warray-bounds=]
72 | vecin[y]=0;
| ~~~~~~~~^~
main.c:4:38: note: 'vecin' declared here
4 | int v[1000][1000],ocupat[1000][1000],vecin[100];
| ^~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
508 kb
|
OK
|
10
|
|
2
|
1 ms
|
1020 kb
|
OK
|
10
|
|
3
|
7 ms
|
2084 kb
|
OK
|
10
|
|
4
|
18 ms
|
3580 kb
|
OK
|
10
|
|
5
|
25 ms
|
3836 kb
|
OK
|
10
|
|
6
|
38 ms
|
4404 kb
|
OK
|
10
|
|
7
|
88 ms
|
depășită
|
Memory limit exceeded.
|
0
|
|
8
|
110 ms
|
depășită
|
Memory limit exceeded.
|
0
|
|
9
|
139 ms
|
depășită
|
Memory limit exceeded.
|
0
|
|
10
|
138 ms
|
depășită
|
Memory limit exceeded.
|
0
|
|
Punctaj total
|
60
|