Borderou de evaluare (job #2252981)

Utilizator MKopchevMartin Kopchev MKopchev Data 3 octombrie 2018 14:44:56
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:137:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:131: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:132: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:134:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:137: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
124ms21812kbOK5
232ms21848kbOK5
320ms21900kbOK5
41752ms22396kbOK5
5112ms22172kbOK5
6488ms22372kbOK5
7388ms25272kbOK5
8Depăşit28004kbTime limit exceeded.0
9Depăşit26728kbTime limit exceeded.0
10Depăşit28160kbTime limit exceeded.0
11656ms27780kbOK5
12Depăşit29016kbTime limit exceeded.0
13Depăşit28516kbTime limit exceeded.0
14Depăşit30220kbTime limit exceeded.0
15Depăşit31624kbTime limit exceeded.0
16Depăşit32948kbTime limit exceeded.0
17Depăşit34364kbTime limit exceeded.0
18Depăşit36048kbTime limit exceeded.0
19Depăşit36992kbTime limit exceeded.0
20Depăşit42380kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?