Pagini recente » Borderou de evaluare (job #1051062) | Cod sursa (job #3200216) | Borderou de evaluare (job #2517158) | Borderou de evaluare (job #2602466) | Borderou de evaluare (job #1716687)
Borderou de evaluare (job #1716687)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:6:2: warning: passing argument 2 of ‘fopen’ makes pointer from integer without a cast [enabled by default]
FILE *IN = fopen("adunare.in", 'r');
^
In file included from user.c:1:0:
/usr/include/stdio.h:273:14: note: expected ‘const char * restrict’ but argument is of type ‘int’
extern FILE *fopen (__const char *__restrict __filename,
^
user.c:7:2: warning: passing argument 2 of ‘fopen’ makes pointer from integer without a cast [enabled by default]
FILE *OUT = fopen("adunare.out", 'w');
^
In file included from user.c:1:0:
/usr/include/stdio.h:273:14: note: expected ‘const char * restrict’ but argument is of type ‘int’
extern FILE *fopen (__const char *__restrict __filename,
^
user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d %d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 7 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
| 1 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 168kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 168kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 168kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |