Borderou de evaluare (job #2229148)

Utilizator MKopchevMartin Kopchev MKopchev Data 6 august 2018 00:11:37
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:18:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s[i].size()>=len) ~~~~~~~~~~~^~~~~ user.cpp: In function ‘int main()’: user.cpp:112:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:106: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:107: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:109:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:112: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
124ms6804kbOK5
220ms6808kbOK5
320ms6832kbOK5
424ms6884kbOK5
5112ms6884kbOK5
6116ms6896kbOK5
7444ms7464kbOK5
8764ms7216kbOK5
9Depăşit7596kbTime limit exceeded.0
10952ms7448kbOK5
11340ms7520kbOK5
12172ms7464kbOK5
13Depăşit7868kbTime limit exceeded.0
14476ms7508kbOK5
15Depăşit8192kbTime limit exceeded.0
16Depăşit8348kbTime limit exceeded.0
17Depăşit8428kbTime limit exceeded.0
18Depăşit8248kbTime limit exceeded.0
19Depăşit7936kbTime limit exceeded.0
20612ms8512kbOK5
Punctaj total65

Ceva nu functioneaza?