Borderou de evaluare (job #1388727)

Utilizator heracleRadu Muntean heracle Data 15 martie 2015 17:50:23
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
20ms292kbOK55
30ms344kbOK55
40ms348kbOK55
50ms860kbOK55
68ms860kbOK55
78ms860kbOK55
816ms860kbOK55
996ms6040kbOK55
10228ms6040kbOK55
11396ms13940kbOK50
12376ms13936kbOK5
13384ms13940kbOK5
14416ms13932kbOK5
15364ms1652kbIncorect0
16432ms13932kbOK50
17420ms13936kbIncorect0
18404ms13936kbOK5
19408ms13936kbOK5
20428ms13936kbIncorect0
Punctaj total50

Ceva nu functioneaza?