Pagini recente »
Borderou de evaluare (job #6705)
|
Borderou de evaluare (job #336142)
|
Borderou de evaluare (job #499716)
|
Borderou de evaluare (job #167976)
|
Borderou de evaluare (job #813172)
Borderou de evaluare (job #813172)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:9: warning: unused variable 'n' [-Wunused-variable]
9 | int n, i, h, m, cm, min, t, tm;
| ^
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d", &l[i], &c[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d", &h);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:30:5:
/usr/include/bits/stdio2.h:111:10: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:9:25: note: 'min' was declared here
9 | int n, i, h, m, cm, min, t, tm;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
2 ms
|
245 kb
|
OK
|
10
|
3
|
2 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
|
2 ms
|
245 kb
|
a) OK; b) rezultat incorect
|
4
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
94
|