Borderou de evaluare (job #2229077)

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

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:86:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:80: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:81: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:83:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:86: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
120ms6860kbOK5
216ms6868kbOK5
320ms6904kbOK5
420ms6896kbOK5
5316ms6992kbOK5
6304ms7064kbOK5
71024ms8680kbIncorect0
8Depăşit7452kbTime limit exceeded.0
9Depăşit8548kbTime limit exceeded.0
10Depăşit7604kbTime limit exceeded.0
11656ms8900kbIncorect0
12252ms7080kbOK5
13Depăşit8568kbTime limit exceeded.0
141860ms7552kbOK5
15Depăşit10008kbTime limit exceeded.0
16Depăşit10000kbTime limit exceeded.0
17Depăşit9100kbTime limit exceeded.0
18Depăşit8804kbTime limit exceeded.0
19Depăşit8344kbTime limit exceeded.0
201564ms9196kbOK5
Punctaj total45

Ceva nu functioneaza?