Pagini recente » Borderou de evaluare (job #1478033) | Borderou de evaluare (job #3285224) | Borderou de evaluare (job #2429670) | Borderou de evaluare (job #220536) | Borderou de evaluare (job #2452341)
Borderou de evaluare (job #2452341)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:9: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
fscanf("%d", &x);
^~~~
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from main.c:3:
/usr/include/stdio.h:443:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
main.c:10:15: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
fscanf("%d", &x);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from main.c:3:
/usr/include/stdio.h:443:12: note: expected 'const char * restrict' but argument is of type 'int *'
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
main.c:10:15: warning: format not a string literal and no format arguments [-Wformat-security]
fscanf("%d", &x);
^~
main.c:11:9: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
fscanf("%d", &y);
^~~~
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from main.c:3:
/usr/include/stdio.h:443:12: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
main.c:11:15: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types]
fscanf("%d", &y);
^
In file included from /usr/include/features.h:367:0,
from /usr/include/stdio.h:27,
from main.c:3:
/usr/include/stdio.h:443:12: note: expected 'const char * restrict' but argument is of type 'int *'
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
main.c:11:15: warning: format not a string literal and no format arguments [-Wformat-security]
fscanf("%d", &y);
^~
main.c:13:10: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
fprintf("%d\n", x + y);
^~~~~~
In file included from /usr/include/stdio.h:936:0,
from main.c:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:95:1: note: expected 'FILE * restrict {aka struct _IO_FILE * restrict}' but argument is of type 'char *'
fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 2ms | 131kb | Killed by Signal 11 | 0 |
1 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |