Borderou de evaluare (job #2176959)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 18 martie 2018 11:53:14
Problema Karma Status done
Runda Algoritmiada 2018 Runda PreONI Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("karma.in", "r", stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("karma.out", "w", stdout); ^ user.cpp:16:30: 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:20:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (str + 1, 32, stdin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/5/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:20:35: /usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓10ms1352kbOK!0
✓20ms1316kbOK!0
✗30ms1320kbOK!10
✗4Depăşit1192kbTime limit exceeded.0
✗5Depăşit1220kbTime limit exceeded.0
✗6Depăşit1172kbTime limit exceeded.0
✗7Depăşit1168kbTime limit exceeded.0
✗8Depăşit1100kbTime limit exceeded.0
✗9Depăşit1168kbTime limit exceeded.0
✗10Depăşit1168kbTime limit exceeded.0
✗110ms1320kbOK!10
✗120ms1348kbOK!10
Punctaj total30

Ceva nu functioneaza?