Pagini recente »
Borderou de evaluare (job #692075)
|
Borderou de evaluare (job #380174)
|
Borderou de evaluare (job #558455)
|
Borderou de evaluare (job #796279)
Borderou de evaluare (job #796279)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:60:32: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'int *' [-Wformat=]
60 | fscanf(fin, "%d %lld", &h, &v);
| ~~~^ ~~
| | |
| | int *
| long long int *
| %d
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d", &c);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:19:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | fscanf(fin, "%d %d", &h, &v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:37:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | fscanf(fin, "%d %d", &h, &v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:55:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | fscanf(fin, "%d %lld", &n, &t);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:60:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | fscanf(fin, "%d %lld", &h, &v);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:71:11: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
71 | if(d == 0) {
| ^
main.c:10:27: note: 'd' was declared here
10 | int c, n, h, v, y, i, d;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana de la comisie
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
3
|
3
|
2 ms
|
245 kb
|
OK
|
3
|
4
|
2 ms
|
245 kb
|
OK
|
3
|
5
|
1 ms
|
245 kb
|
OK
|
3
|
6
|
1 ms
|
245 kb
|
OK
|
3
|
7
|
1 ms
|
245 kb
|
OK
|
3
|
8
|
1 ms
|
245 kb
|
OK
|
3
|
9
|
9 ms
|
245 kb
|
OK
|
3
|
10
|
9 ms
|
245 kb
|
Incorect
|
0
|
11
|
9 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
507 kb
|
OK
|
3
|
13
|
1 ms
|
245 kb
|
OK
|
3
|
14
|
1 ms
|
245 kb
|
OK
|
3
|
15
|
2 ms
|
245 kb
|
OK
|
3
|
16
|
1 ms
|
245 kb
|
OK
|
3
|
17
|
1 ms
|
245 kb
|
OK
|
3
|
18
|
1 ms
|
245 kb
|
OK
|
3
|
19
|
1 ms
|
249 kb
|
OK
|
3
|
20
|
9 ms
|
245 kb
|
OK
|
3
|
21
|
9 ms
|
270 kb
|
OK
|
2
|
22
|
1 ms
|
245 kb
|
Incorect
|
0
|
23
|
1 ms
|
245 kb
|
Incorect
|
0
|
24
|
1 ms
|
245 kb
|
Incorect
|
0
|
25
|
1 ms
|
245 kb
|
Incorect
|
0
|
26
|
2 ms
|
245 kb
|
Incorect
|
0
|
27
|
1 ms
|
245 kb
|
Incorect
|
0
|
28
|
1 ms
|
507 kb
|
OK
|
1
|
29
|
2 ms
|
245 kb
|
Incorect
|
0
|
30
|
1 ms
|
266 kb
|
Incorect
|
0
|
31
|
1 ms
|
245 kb
|
Incorect
|
0
|
32
|
2 ms
|
245 kb
|
Incorect
|
0
|
33
|
1 ms
|
245 kb
|
Incorect
|
0
|
34
|
2 ms
|
507 kb
|
Incorect
|
0
|
35
|
1 ms
|
245 kb
|
Incorect
|
0
|
36
|
1 ms
|
245 kb
|
Incorect
|
0
|
37
|
1 ms
|
507 kb
|
Incorect
|
0
|
38
|
9 ms
|
245 kb
|
Incorect
|
0
|
39
|
1 ms
|
245 kb
|
Incorect
|
0
|
40
|
2 ms
|
245 kb
|
Incorect
|
0
|
41
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
64
|