Borderou de evaluare (job #1691062)

Utilizator Chestiechestie chestie Chestie Data 16 aprilie 2016 19:06:14
Problema Teatru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void Calculeaza()’: user.cpp:47:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[p]] = 1; ^ user.cpp: In function ‘int main()’: user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.in", "r", stdin); ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.out", "w", stdout); ^ user.cpp: In function ‘void Citeste()’: user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:24:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &s[0]); ^ user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", s + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms256kbOK10
220ms260kbOK10
3Depăşit280kbTime limit exceeded.0
4Depăşit284kbTime limit exceeded.0
5Depăşit288kbTime limit exceeded.0
6Depăşit248kbTime limit exceeded.0
7Depăşit264kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit276kbTime limit exceeded.0
10Depăşit280kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?