Borderou de evaluare (job #1388725)

Utilizator heracleRadu Muntean heracle Data 15 martie 2015 17:48:32
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:88: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:89: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:90: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:103: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:89: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:90: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
10ms284kbOK55
20ms296kbOK55
30ms340kbOK55
40ms344kbOK55
50ms860kbOK55
68ms860kbOK55
78ms864kbOK55
816ms860kbOK55
992ms6040kbOK55
10228ms6036kbOK55
11392ms13936kbOK50
12376ms13932kbOK5
13392ms13936kbOK5
14420ms13936kbOK5
15360ms1656kbIncorect0
16436ms13936kbOK50
17420ms13932kbIncorect0
18400ms13936kbOK5
19408ms13936kbOK5
20420ms13932kbIncorect0
Punctaj total50

Ceva nu functioneaza?