Pagini recente »
Borderou de evaluare (job #341186)
|
Borderou de evaluare (job #759967)
|
Borderou de evaluare (job #549945)
|
Borderou de evaluare (job #530052)
|
Borderou de evaluare (job #732405)
Borderou de evaluare (job #732405)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:44:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | fscanf(fin, "%d%d", &b, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:76:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | fscanf(fin, "%d", &b);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:71:3:
/usr/include/bits/stdio2.h:79:10: warning: 's' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:57:28: note: 's' was declared here
57 | int k = 2, s;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
241 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
OK
|
2
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
OK
|
2
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
2
|
11
|
1 ms
|
245 kb
|
OK
|
2
|
12
|
1 ms
|
245 kb
|
OK
|
2
|
13
|
1 ms
|
245 kb
|
OK
|
2
|
14
|
1 ms
|
245 kb
|
OK
|
2
|
15
|
1 ms
|
245 kb
|
OK
|
2
|
16
|
1 ms
|
241 kb
|
OK
|
2
|
17
|
1 ms
|
245 kb
|
OK
|
2
|
18
|
1 ms
|
245 kb
|
OK
|
2
|
19
|
1 ms
|
245 kb
|
OK
|
2
|
20
|
1 ms
|
245 kb
|
OK
|
2
|
21
|
1 ms
|
245 kb
|
OK
|
2
|
22
|
1 ms
|
245 kb
|
OK
|
2
|
23
|
1 ms
|
245 kb
|
Incorect
|
0
|
24
|
1 ms
|
245 kb
|
Incorect
|
0
|
25
|
1 ms
|
245 kb
|
OK
|
2
|
26
|
1 ms
|
245 kb
|
OK
|
2
|
27
|
1 ms
|
245 kb
|
Incorect
|
0
|
28
|
1 ms
|
245 kb
|
Incorect
|
0
|
29
|
1 ms
|
245 kb
|
OK
|
2
|
30
|
1 ms
|
245 kb
|
Incorect
|
0
|
31
|
1 ms
|
245 kb
|
OK
|
2
|
32
|
1 ms
|
245 kb
|
OK
|
2
|
33
|
1 ms
|
245 kb
|
OK
|
2
|
34
|
1 ms
|
245 kb
|
OK
|
2
|
35
|
1 ms
|
245 kb
|
OK
|
2
|
36
|
1 ms
|
245 kb
|
OK
|
2
|
37
|
1 ms
|
245 kb
|
OK
|
2
|
38
|
1 ms
|
245 kb
|
OK
|
2
|
39
|
1 ms
|
245 kb
|
OK
|
2
|
40
|
1 ms
|
245 kb
|
OK
|
2
|
41
|
1 ms
|
245 kb
|
OK
|
2
|
42
|
1 ms
|
245 kb
|
OK
|
2
|
43
|
3 ms
|
245 kb
|
OK
|
2
|
44
|
1 ms
|
245 kb
|
OK
|
2
|
45
|
1 ms
|
245 kb
|
OK
|
2
|
46
|
1 ms
|
245 kb
|
OK
|
2
|
47
|
1 ms
|
245 kb
|
OK
|
2
|
48
|
1 ms
|
245 kb
|
Incorect
|
0
|
49
|
1 ms
|
245 kb
|
OK
|
2
|
50
|
1 ms
|
241 kb
|
OK
|
2
|
Punctaj total
|
74
|