Pagini recente »
Borderou de evaluare (job #820485)
|
Borderou de evaluare (job #753577)
|
Borderou de evaluare (job #756532)
Borderou de evaluare (job #756532)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:16:10: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | f[v[i]]=1;
| ~^~~
main.c:30:15: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | if(put[v[i]]==max)
| ~^~~
main.c:32:17: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | dr=i+put[v[i]];
| ~^~~
main.c:35:17: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | st=i-put[v[i]];
| ~^~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:19:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d", &h);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:23:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf(fin, "%d", &put[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
2 ms
|
245 kb
|
OK
|
10
|
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
|
6
|
1 ms
|
245 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
|
245 kb
|
OK
|
10
|
|
Punctaj total
|
100
|