Borderou de evaluare (job #2229152)

Utilizator MKopchevMartin Kopchev MKopchev Data 6 august 2018 00:24:06
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int common(int)’: user.cpp:39:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s[i].size()>=len) ~~~~~~~~~~~^~~~~ user.cpp: In function ‘int main()’: user.cpp:129:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:123: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:124: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:126:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:129: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
124ms9160kbOK5
232ms9164kbOK5
340ms9184kbOK5
432ms9312kbOK5
5116ms9332kbOK5
6132ms9364kbOK5
7376ms10280kbOK5
8776ms10352kbOK5
9Depăşit10808kbTime limit exceeded.0
10972ms10888kbOK5
11260ms10592kbOK5
12232ms10988kbOK5
13Depăşit11344kbTime limit exceeded.0
14468ms11060kbOK5
15Depăşit11772kbTime limit exceeded.0
16Depăşit12224kbTime limit exceeded.0
17Depăşit12816kbTime limit exceeded.0
18Depăşit12836kbTime limit exceeded.0
19Depăşit12788kbTime limit exceeded.0
20636ms12964kbOK5
Punctaj total65

Ceva nu functioneaza?