Borderou de evaluare (job #2025119)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 21 septembrie 2017 21:28:21
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:40: 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:46:42: 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:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &k); ^ user.cpp:54:39: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (aux + 1, 400010, stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:54:39: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9772kbOK5
212ms9808kbOK5
316ms9928kbOK5
428ms10684kbOK5
524ms10464kbOK5
632ms10712kbOK5
7144ms15536kbOK5
8212ms18404kbOK5
9208ms17948kbOK5
10212ms19408kbOK5
11244ms18780kbOK5
12224ms20660kbOK5
13260ms19980kbOK5
14268ms21928kbOK5
15472ms24404kbOK5
16476ms26492kbOK5
17552ms29180kbOK5
18588ms31456kbOK5
19568ms32772kbOK5
20828ms38808kbOK5
Punctaj total100

Ceva nu functioneaza?