Borderou de evaluare (job #1237022)

Utilizator tudormaximTudor Maxim tudormaxim Data 2 octombrie 2014 23:35:01
Problema Teatru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[55001]’ [-Wformat=] scanf("%ld %ld \n%s", &n, &k, &s); ^ user.cpp:18:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[p]]=1; ^ user.cpp:9: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:10: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:12:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld \n%s", &n, &k, &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms436kbOK10
220ms432kbOK10
3Depăşit448kbTime limit exceeded.0
4Depăşit456kbTime limit exceeded.0
5Depăşit452kbTime limit exceeded.0
6Depăşit416kbTime limit exceeded.0
7Depăşit432kbTime limit exceeded.0
8Depăşit428kbTime limit exceeded.0
9Depăşit444kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?