Pagini recente » Borderou de evaluare (job #1992062) | Borderou de evaluare (job #2951373) | Borderou de evaluare (job #1325581) | Borderou de evaluare (job #2956153) | Borderou de evaluare (job #1911554)
Borderou de evaluare (job #1911554)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:30:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (i=1; i<=m; i++) scanf("%d", &a[i]);
^
user.c:30:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=]
user.c:31:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (i=1; i<=n; i++) scanf("%d", &b[i]);
^
user.c:31:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=]
user.c:29:9: warning: unused variable ‘j’ [-Wunused-variable]
char i,j;
^
user.c:22:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "r", stdin);
^
user.c:23:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out", "w", stdout);
^
user.c:28:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &m, &n);
^
user.c:30:28: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=m; i++) scanf("%d", &a[i]);
^
user.c:31:28: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf("%d", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | Fisier de iesire corupt! | 0 |
2 | 0ms | 244kb | Fisier de iesire corupt! | 0 |
3 | 0ms | 244kb | Fisier de iesire corupt! | 0 |
4 | Depăşit | 240kb | Time limit exceeded. | 0 |
5 | Depăşit | 244kb | Time limit exceeded. | 0 |
6 | Depăşit | 240kb | Time limit exceeded. | 0 |
7 | Depăşit | 240kb | Time limit exceeded. | 0 |
8 | Depăşit | 248kb | Time limit exceeded. | 0 |
9 | Depăşit | 240kb | Time limit exceeded. | 0 |
10 | Depăşit | 244kb | Time limit exceeded. | 0 |
Punctaj total | 0 |