Borderou de evaluare (job #1388469)

Utilizator heracleRadu Muntean heracle Data 15 martie 2015 14:52:34
Problema X Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:75:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d\n",&x,&y,&q); ^ user.cpp:76:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a+1,Q,in); ^ user.cpp:77:20: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(b+1,Q,in); ^ user.cpp:86:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d",&x,&y); ^ 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:76:20: /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); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:77:20: /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 Punctaj/grupa
10ms280kbOK55
20ms284kbOK55
30ms336kbOK55
40ms332kbOK55
50ms844kbOK55
68ms852kbOK55
78ms844kbOK55
816ms844kbOK55
992ms6032kbOK55
10232ms6032kbOK55
11384ms13928kbOK50
12380ms13924kbOK5
13388ms13928kbOK5
14416ms13932kbOK5
15340ms1248kbIncorect0
16436ms13932kbOK50
17420ms13932kbIncorect0
18408ms13932kbOK5
19412ms13928kbOK5
20384ms10032kbIncorect0
Punctaj total50

Ceva nu functioneaza?