Pagini recente »
Borderou de evaluare (job #360892)
|
Borderou de evaluare (job #32277)
|
Borderou de evaluare (job #305952)
|
Borderou de evaluare (job #191742)
|
Borderou de evaluare (job #732644)
Borderou de evaluare (job #732644)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:56:13: warning: unused variable 't' [-Wunused-variable]
56 | int t = 0;
| ^
main.c:51:14: warning: unused variable 'curr' [-Wunused-variable]
51 | int pos, curr = 1;
| ^~~~
main.c:51:9: warning: unused variable 'pos' [-Wunused-variable]
51 | int pos, curr = 1;
| ^~~
main.c:29:29: warning: unused variable 'step' [-Wunused-variable]
29 | int maxim = -1, winner, step, k = 0, CC, VV;
| ^~~~
main.c:34:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | fscanf(in, "%d", &command);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:35:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | fscanf(in, "%d%d%d", &a, &b, &nr_init);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:36:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | fscanf(in, "%d%d%d%d%d", &N, &M, &L, &E, &X);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:46:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | fscanf(in, "%c%d%d", &cod, &CC, &VV);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:112:9:
/usr/include/bits/stdio2.h:79:10: warning: 'winner' 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:29:21: note: 'winner' was declared here
29 | int maxim = -1, winner, step, k = 0, CC, VV;
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
258 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
5
|
2
|
1 ms
|
245 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
5
|
3
|
1 ms
|
262 kb
|
Incorect
|
0
|
4
|
1 ms
|
262 kb
|
Incorect
|
0
|
5
|
99 ms
|
249 kb
|
Incorect
|
0
|
6
|
99 ms
|
245 kb
|
Incorect
|
0
|
7
|
39 ms
|
258 kb
|
Incorect
|
0
|
8
|
39 ms
|
258 kb
|
Incorect
|
0
|
9
|
109 ms
|
262 kb
|
Time limit exceeded
|
0
|
10
|
109 ms
|
262 kb
|
Time limit exceeded
|
0
|
11
|
39 ms
|
262 kb
|
Incorect
|
0
|
12
|
39 ms
|
262 kb
|
Incorect
|
0
|
13
|
89 ms
|
262 kb
|
Incorect
|
0
|
14
|
89 ms
|
249 kb
|
OK
|
5
|
15
|
77 ms
|
262 kb
|
Incorect
|
0
|
16
|
78 ms
|
249 kb
|
Incorect
|
0
|
17
|
79 ms
|
262 kb
|
Incorect
|
0
|
18
|
89 ms
|
258 kb
|
Incorect
|
0
|
19
|
109 ms
|
262 kb
|
Time limit exceeded
|
0
|
20
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
15
|