Pagini recente » Borderou de evaluare (job #486984) | Borderou de evaluare (job #1831526) | Borderou de evaluare (job #968582) | Borderou de evaluare (job #2455058) | Borderou de evaluare (job #1886270)
Borderou de evaluare (job #1886270)
Raport evaluator
Compilare:
user.c: In function ‘Citeste’:
user.c:23:4: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.c:23:4: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c: In function ‘Afis’:
user.c:31:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", Lmax);
^
user.c: In function ‘Calculeaza’:
user.c:47:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s[p]] = 1;
^
user.c: In function ‘main’:
user.c:13:11: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in", "r", stdin);
^
user.c:14:11: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out", "w", stdout);
^
user.c: In function ‘Citeste’:
user.c:23:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.c:24:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &s[0]); // citeste '\n'
^
user.c:26:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", s + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 276kb | OK | 10 |
2 | 20ms | 276kb | OK | 10 |
3 | Depăşit | 284kb | Time limit exceeded. | 0 |
4 | Depăşit | 284kb | Time limit exceeded. | 0 |
5 | Depăşit | 284kb | Time limit exceeded. | 0 |
6 | Depăşit | 252kb | Time limit exceeded. | 0 |
7 | Depăşit | 272kb | Time limit exceeded. | 0 |
8 | Depăşit | 256kb | Time limit exceeded. | 0 |
9 | Depăşit | 280kb | Time limit exceeded. | 0 |
10 | Depăşit | 284kb | Time limit exceeded. | 0 |
Punctaj total | 20 |