Borderou de evaluare (job #2028847)

Utilizator MKopchevMartin Kopchev MKopchev Data 28 septembrie 2017 19:05:56
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200042]’ [-Wformat=] scanf("%s",&str); ^ user.cpp:12: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:13: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:15:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&k); ^ user.cpp:18: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
14ms5156kbOK5
212ms5460kbOK5
31424ms32856kbOK5
48ms5168kbOK5
5816ms18472kbOK5
6Depăşit47084kbTime limit exceeded.0
7Depăşit69004kbTime limit exceeded.0
8Depăşit50136kbTime limit exceeded.0
9Depăşit43116kbTime limit exceeded.0
10Depăşit44712kbTime limit exceeded.0
11Depăşit88832kbTime limit exceeded.0
12348ms6124kbOK5
13Depăşit46156kbTime limit exceeded.0
14Depăşit49856kbTime limit exceeded.0
15Depăşit63856kbTime limit exceeded.0
16Depăşit47348kbTime limit exceeded.0
17Depăşit39816kbTime limit exceeded.0
18Depăşit48800kbTime limit exceeded.0
19Depăşit47744kbTime limit exceeded.0
20Depăşit78660kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?