Pagini recente »
Borderou de evaluare (job #155579)
|
Borderou de evaluare (job #617195)
|
Borderou de evaluare (job #527139)
|
Borderou de evaluare (job #288247)
|
Borderou de evaluare (job #607105)
Borderou de evaluare (job #607105)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:52:17: warning: statement with no effect [-Wunused-value]
52 | fundasi[cate[1]];
| ~~~~~~~^~~~~~~~~
main.c:102:14: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
102 | fprintf("F %d\n", maxf);
| ^~~~~~~~
| |
| char *
In file included from /usr/include/stdio.h:866,
from main.c:1:
/usr/include/bits/stdio2.h:103:27: note: expected 'FILE * restrict' but argument is of type 'char *'
103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:102:24: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
102 | fprintf("F %d\n", maxf);
| ^~~~
| |
| int
In file included from /usr/include/stdio.h:866,
from main.c:1:
/usr/include/bits/stdio2.h:103:60: note: expected 'const char * restrict' but argument is of type 'int'
103 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:7:27: warning: unused variable 'cnt' [-Wunused-variable]
7 | int n, f, m, a, c, i, cnt=1, max=0, nr=0, maxp=0, maxf=0, maxm=0, j, maxa, copy;
| ^~~
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:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | fscanf(fin, "%d%d%d ", &f, &m, &a);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:75:5: warning: 'maxl' may be used uninitialized in this function [-Wmaybe-uninitialized]
75 | fprintf(fout, "%c %d", maxl, max);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:30:5: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
30 | switch (l)
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
3 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
131 kb
|
OK
|
5
|
7
|
1 ms
|
131 kb
|
OK
|
5
|
8
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
11
|
1 ms
|
131 kb
|
Incorect
|
0
|
12
|
1 ms
|
131 kb
|
Incorect
|
0
|
13
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
14
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
15
|
1 ms
|
131 kb
|
Incorect
|
0
|
16
|
1 ms
|
131 kb
|
Incorect
|
0
|
17
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
18
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
19
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
20
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
10
|