Borderou de evaluare (job #1388785)

Utilizator heracleRadu Muntean heracle Data 15 martie 2015 18:36:30
Problema X Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60: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:61: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:62: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:61: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:62: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
10ms288kbOK55
20ms292kbOK55
30ms384kbOK55
40ms388kbOK55
54ms1356kbOK55
68ms1348kbOK55
78ms1348kbOK55
816ms1356kbOK55
9112ms11024kbOK55
10252ms11016kbOK55
11420ms19788kbOK525
12404ms19792kbOK5
13408ms19792kbOK5
14444ms19792kbOK5
15372ms2236kbOK5
16464ms19796kbOK525
17444ms19792kbOK5
18428ms19796kbOK5
19436ms19792kbOK5
20460ms19788kbOK5
Punctaj total100

Ceva nu functioneaza?