Borderou de evaluare (job #2417061)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:127: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:130: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:131: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:132: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:130: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:131: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:132: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
13ms262kbIncorect0
23ms262kbCorect5
33ms262kbCorect5
49ms262kbCorect5
512ms262kbCorect5
69ms262kbCorect5
712ms262kbCorect5
813ms262kbIncorect0
9134ms917kbCorect5
10135ms786kbCorect5
11171ms1048kbCorect5
12158ms1048kbCorect5
13201ms917kbTime limit exceeded0
14203ms1835kbTime limit exceeded0
15200ms1835kbTime limit exceeded0
16203ms1835kbTime limit exceeded0
17202ms1835kbTime limit exceeded0
18203ms1835kbTime limit exceeded0
19200ms1835kbTime limit exceeded0
20200ms1835kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?