Borderou de evaluare (job #2229078)

Utilizator MKopchevMartin Kopchev MKopchev Data 5 august 2018 20:14:59
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

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:87:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:81: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:82: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:84:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:87: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
18ms6864kbOK5
212ms6872kbOK5
316ms6896kbOK5
412ms6896kbOK5
5172ms6988kbOK5
6212ms7064kbOK5
7996ms8556kbOK5
81604ms7512kbOK5
9Depăşit8520kbTime limit exceeded.0
10Depăşit7608kbTime limit exceeded.0
11716ms8844kbOK5
12248ms7080kbOK5
13Depăşit8564kbTime limit exceeded.0
14868ms7552kbOK5
15Depăşit10016kbTime limit exceeded.0
16Depăşit10000kbTime limit exceeded.0
17Depăşit9100kbTime limit exceeded.0
18Depăşit8796kbTime limit exceeded.0
19Depăşit8352kbTime limit exceeded.0
201552ms9196kbOK5
Punctaj total60

Ceva nu functioneaza?