Borderou de evaluare (job #1388491)

Utilizator heracleRadu Muntean heracle Data 15 martie 2015 15:08:52
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:89: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
10ms272kbOK55
20ms280kbOK55
30ms336kbOK55
40ms332kbOK55
50ms852kbOK55
68ms852kbOK55
78ms852kbOK55
816ms852kbOK55
992ms6032kbOK55
10224ms6032kbOK55
11392ms13932kbOK50
12384ms13932kbOK5
13388ms13932kbOK5
14412ms13924kbOK5
15372ms1644kbIncorect0
16440ms13924kbOK50
17416ms13932kbIncorect0
18400ms13928kbOK5
19416ms13928kbOK5
20424ms13932kbIncorect0
Punctaj total50

Ceva nu functioneaza?