Pagini recente » Borderou de evaluare (job #949528) | Borderou de evaluare (job #365928) | Borderou de evaluare (job #470558) | Borderou de evaluare (job #1073596) | Borderou de evaluare (job #1580339)
Borderou de evaluare (job #1580339)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:17:5: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [enabled by default]
scanf(in, "%d %d", &M, &N);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:452:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’
extern int __REDIRECT (scanf, (__const char *__restrict __format, ...),
^
user.c:19:9: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [enabled by default]
scanf(in, "%d", &A[i]);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:452:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’
extern int __REDIRECT (scanf, (__const char *__restrict __format, ...),
^
user.c:21:9: warning: passing argument 1 of ‘scanf’ from incompatible pointer type [enabled by default]
scanf(in, "%d", &B[i]);
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.c:1:
/usr/include/stdio.h:452:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’
extern int __REDIRECT (scanf, (__const char *__restrict __format, ...),
^
user.c:12:16: warning: variable ‘out’ set but not used [-Wunused-but-set-variable]
FILE *in, *out;
^
user.c:17:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(in, "%d %d", &M, &N);
^
user.c:19:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(in, "%d", &A[i]);
^
user.c:21:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(in, "%d", &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Fisier de iesire corupt! | 0 |
2 | 0ms | 256kb | Fisier de iesire corupt! | 0 |
3 | 0ms | 256kb | Fisier de iesire corupt! | 0 |
4 | 0ms | 256kb | Fisier de iesire corupt! | 0 |
5 | 0ms | 252kb | Fisier de iesire corupt! | 0 |
6 | 0ms | 252kb | Fisier de iesire corupt! | 0 |
7 | 0ms | 252kb | Fisier de iesire corupt! | 0 |
8 | 0ms | 260kb | Fisier de iesire corupt! | 0 |
9 | 0ms | 256kb | Fisier de iesire corupt! | 0 |
10 | 0ms | 252kb | Fisier de iesire corupt! | 0 |
Punctaj total | 0 |