Borderou de evaluare (job #2229080)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 august 2018 20:25:40
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:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(s[i].size()>=len) ~~~~~~~~~~~^~~~~ user.cpp: In function ‘int main()’: user.cpp:98:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:92: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:93: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:95:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:98: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
18ms6796kbOK5
212ms6808kbOK5
312ms6812kbOK5
412ms6932kbOK5
592ms6940kbOK5
6104ms6948kbOK5
7420ms7608kbOK5
8788ms7180kbOK5
9Depăşit7904kbTime limit exceeded.0
10996ms7796kbOK5
11340ms7676kbOK5
12168ms7780kbOK5
13Depăşit8288kbTime limit exceeded.0
14444ms7592kbOK5
15Depăşit9024kbTime limit exceeded.0
16Depăşit9108kbTime limit exceeded.0
17Depăşit9048kbTime limit exceeded.0
18Depăşit8320kbTime limit exceeded.0
19Depăşit8056kbTime limit exceeded.0
20664ms8592kbOK5
Punctaj total65

Ceva nu functioneaza?