Borderou de evaluare (job #2229151)

Utilizator MKopchevMartin Kopchev MKopchev Data 6 august 2018 00:22:11
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:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s[i].size()>=len) ~~~~~~~~~~~^~~~~ user.cpp: In function ‘int main()’: user.cpp:130:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:124: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:125: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:127:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:130: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
120ms6808kbOK5
220ms6804kbOK5
324ms6832kbOK5
440ms6884kbOK5
5112ms6884kbOK5
6120ms6896kbOK5
7408ms7464kbOK5
8772ms7216kbOK5
9Depăşit7592kbTime limit exceeded.0
101000ms7448kbOK5
11300ms7516kbOK5
12236ms7460kbOK5
13Depăşit7868kbTime limit exceeded.0
14472ms7508kbOK5
15Depăşit8196kbTime limit exceeded.0
16Depăşit8352kbTime limit exceeded.0
17Depăşit8428kbTime limit exceeded.0
18Depăşit8248kbTime limit exceeded.0
19Depăşit7940kbTime limit exceeded.0
20616ms8516kbOK5
Punctaj total65

Ceva nu functioneaza?