Pagini recente » Borderou de evaluare (job #1876731) | Borderou de evaluare (job #670962) | Borderou de evaluare (job #261923) | Borderou de evaluare (job #1942287) | Borderou de evaluare (job #1499613)
Borderou de evaluare (job #1499613)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:10:5: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf("%d%d", &a, &b);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:10:5: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default]
fscanf("%d%d", &a, &b);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:449:12: note: expected ‘const char * restrict’ but argument is of type ‘int *’
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
^
user.c:11:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
fprintf("%d", a+b);
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:11:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
fprintf("%d", a+b);
^
In file included from /usr/include/stdio.h:934:0,
from user.c:1:
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * restrict’ but argument is of type ‘int’
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
^
user.c:6:10: warning: unused variable ‘out’ [-Wunused-variable]
FILE*out = fopen("adunare.out", "w");
^
user.c:5:10: warning: unused variable ‘in’ [-Wunused-variable]
FILE*in = fopen("adunare.in", "r");
^
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
1 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 180kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |