Borderou de evaluare (job #2229134)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 august 2018 23:11:32
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:113:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:107: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:108: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:110:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:113: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
18ms6800kbOK5
212ms6804kbOK5
312ms6812kbOK5
412ms6936kbOK5
5104ms6936kbOK5
6112ms6948kbOK5
7444ms7548kbOK5
8772ms7240kbOK5
9Depăşit7892kbTime limit exceeded.0
10968ms7796kbOK5
11340ms7684kbOK5
12168ms7780kbOK5
13Depăşit8168kbTime limit exceeded.0
14484ms7620kbOK5
15Depăşit9280kbTime limit exceeded.0
16Depăşit9060kbTime limit exceeded.0
17Depăşit9044kbTime limit exceeded.0
18Depăşit9144kbTime limit exceeded.0
19Depăşit8052kbTime limit exceeded.0
20632ms8592kbOK5
Punctaj total65

Ceva nu functioneaza?