Pagini recente »
Borderou de evaluare (job #375323)
|
Borderou de evaluare (job #703661)
Borderou de evaluare (job #703661)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:17:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char *' [-Wformat=]
17 | fscanf(fin,"%d",&v[i]);
| ~^ ~~~~~
| | |
| | char *
| int *
| %hhd
main.c:14:15: warning: unused variable 'ok' [-Wunused-variable]
14 | int j,i,n,ok=0,z,c;
| ^~
main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&v[i]);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf(fin,"%d",&c);
| ^~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
20
|