Borderou de evaluare (job #1886270)

Utilizator CatiCotorCotor Catinca CatiCotor Data 20 februarie 2017 19:55:08
Problema Teatru Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

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
116ms276kbOK10
220ms276kbOK10
3Depăşit284kbTime limit exceeded.0
4Depăşit284kbTime limit exceeded.0
5Depăşit284kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
7Depăşit272kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
9Depăşit280kbTime limit exceeded.0
10Depăşit284kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?