Borderou de evaluare (job #2417074)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 28 aprilie 2019 20:43:40
Problema Puzzle3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:122:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&t); ^ main.cpp:125:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(a + 1,NMAX + 5,f); ^ main.cpp:126:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(b + 1,NMAX + 5,f); ^ main.cpp:127:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(c + 1,NMAX + 5,f); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/6/cstdio:42, from main.cpp:1: In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:125:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:126:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^ In function 'char* fgets(char*, int, FILE*)', inlined from 'int main()' at main.cpp:127:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbNumerele nu pot incepe cu 00
23ms262kbNumerele nu pot incepe cu 00
33ms262kbNumerele nu pot incepe cu 00
43ms262kbCorect5
53ms393kbNumerele nu pot incepe cu 00
63ms393kbNumerele nu pot incepe cu 00
73ms393kbNumerele nu pot incepe cu 00
83ms393kbNumerele nu pot incepe cu 00
915ms917kbNumerele nu pot incepe cu 00
1015ms917kbNumerele nu pot incepe cu 00
1119ms1179kbNumerele nu pot incepe cu 00
1218ms1179kbNumerele nu pot incepe cu 00
1320ms1179kbNumerele nu pot incepe cu 00
1482ms4063kbNumerele nu pot incepe cu 00
1582ms4194kbNumerele nu pot incepe cu 00
1681ms4194kbNumerele nu pot incepe cu 00
1787ms4325kbNumerele nu pot incepe cu 00
1887ms4325kbNumerele nu pot incepe cu 00
1984ms4325kbNumerele nu pot incepe cu 00
2081ms4456kbNumerele nu pot incepe cu 00
Punctaj total5

Ceva nu functioneaza?