Pagini recente »
Borderou de evaluare (job #174670)
|
Borderou de evaluare (job #742103)
|
Borderou de evaluare (job #205982)
|
Borderou de evaluare (job #470392)
|
Borderou de evaluare (job #819865)
Borderou de evaluare (job #819865)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d%d%d",&cer,&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%hd",&x[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d%d%d",&l,&c,&dir);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:71:18: warning: array subscript -1 is below array bounds of 'short int[205][205]' [-Warray-bounds=]
71 | if (x[l][c]<x[i][j]&&0<=l&&l<n&&0<=c&&c<n)
| ~^~~
main.c:3:7: note: while referencing 'x'
3 | short x[205][205];
| ^
main.c:65:21: warning: array subscript -1 is below array bounds of 'short int[205]' [-Warray-bounds=]
65 | if (x[l][c]<x[i][j]&&0<=l&&l<n&&0<=c&&c<n)
| ~~~~^~~
main.c:3:7: note: while referencing 'x'
3 | short x[205][205];
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
10
|
|
2
|
1 ms
|
270 kb
|
OK
|
10
|
|
3
|
1 ms
|
507 kb
|
OK
|
10
|
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
|
5
|
19 ms
|
245 kb
|
OK
|
10
|
|
6
|
1 ms
|
266 kb
|
OK
|
10
|
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
|
Punctaj total
|
100
|