Borderou de evaluare (job #2229075)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 august 2018 20:09:53
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int common(int)’: user.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s[i].size()>=len) ~~~~~~~~~~~^~~~~ user.cpp: In function ‘int main()’: user.cpp:85:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:79:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("frequent.in","r",stdin); ^ user.cpp:80:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("frequent.out","w",stdout); ^ user.cpp:82:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:85:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&str); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms6868kbOK5
220ms6872kbOK5
324ms6900kbOK5
416ms6900kbOK5
5304ms6988kbOK5
6308ms7064kbOK5
71004ms8676kbIncorect0
8Depăşit7452kbTime limit exceeded.0
9Depăşit8548kbTime limit exceeded.0
10Depăşit7608kbTime limit exceeded.0
11628ms8900kbIncorect0
12308ms7076kbOK5
13Depăşit8564kbTime limit exceeded.0
141820ms7556kbOK5
15Depăşit10012kbTime limit exceeded.0
16Depăşit10000kbTime limit exceeded.0
17Depăşit9100kbTime limit exceeded.0
18Depăşit8800kbTime limit exceeded.0
19Depăşit8352kbTime limit exceeded.0
201612ms9164kbOK5
Punctaj total45

Ceva nu functioneaza?