Borderou de evaluare (job #2229133)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 august 2018 23:10:42
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
120ms6800kbOK5
216ms6808kbOK5
316ms6812kbOK5
420ms6940kbOK5
596ms6932kbOK5
6112ms6952kbOK5
7424ms7612kbOK5
8792ms7172kbOK5
9Depăşit7900kbTime limit exceeded.0
101000ms7792kbOK5
11344ms7676kbOK5
12172ms7776kbOK5
13Depăşit8284kbTime limit exceeded.0
14444ms7584kbOK5
15Depăşit9020kbTime limit exceeded.0
16Depăşit9108kbTime limit exceeded.0
17Depăşit9048kbTime limit exceeded.0
18Depăşit8320kbTime limit exceeded.0
19Depăşit8056kbTime limit exceeded.0
20668ms8600kbOK5
Punctaj total65

Ceva nu functioneaza?