Pagini recente »
Borderou de evaluare (job #541385)
|
Borderou de evaluare (job #383249)
|
Borderou de evaluare (job #82168)
|
Borderou de evaluare (job #341047)
|
Borderou de evaluare (job #617556)
Borderou de evaluare (job #617556)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:29:19: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
29 | fprintf(fout, max);
| ^~~
| |
| 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:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | fscanf( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf( fin, "%d", &b );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:4:18: warning: 'ab' may be used uninitialized in this function [-Wmaybe-uninitialized]
4 | int n, a, b, ab, i, max;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
131 kb
|
Killed by Signal 11
|
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
|
Killed by Signal 11
|
0
|
7
|
15 ms
|
131 kb
|
Killed by Signal 11
|
0
|
8
|
16 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
30 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
39 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|