Borderou de evaluare (job #2167465)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 13 martie 2018 21:50:40
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=] scanf("%s\n",&s[i]); ^ user.cpp:58:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.in", "r", stdin); ^ user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.out", "w", stdout); ^ user.cpp:61:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &N, &M); ^ user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&s[i]); ^ user.cpp:73:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c\n",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2804kbOK5
24ms3028kbOK5
34ms3228kbOK5
44ms3044kbOK5
54ms3492kbOK5
64ms3236kbOK5
7360ms3536kbOK5
8544ms3620kbOK5
9Depăşit3560kbTime limit exceeded.0
10Depăşit3324kbTime limit exceeded.0
11Depăşit3628kbTime limit exceeded.0
12Depăşit3412kbTime limit exceeded.0
13Depăşit3260kbTime limit exceeded.0
14Depăşit3612kbTime limit exceeded.0
15Depăşit3380kbTime limit exceeded.0
16Depăşit3608kbTime limit exceeded.0
17Depăşit3132kbTime limit exceeded.0
18Depăşit3168kbTime limit exceeded.0
19Depăşit3536kbTime limit exceeded.0
20Depăşit3556kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?