Borderou de evaluare (job #2573550)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 5 martie 2020 18:07:16
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:50:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(c + 1,1000005,f); ^ main.cpp:51:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&n); ^ main.cpp:54:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(p + 1,10005,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:50:27: /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:54:29: /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
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
612ms917kbOK5
720ms1310kbOK5
822ms1966kbOK5
923ms2228kbOK5
1020ms1572kbOK5
1123ms1179kbOK5
1220ms1835kbOK5
139ms655kbOK5
1410ms655kbOK5
1514ms1310kbOK5
1615ms1441kbOK5
1715ms1310kbOK5
1815ms1179kbOK5
1921ms2097kbOK5
20100ms4194kbTime limit exceeded0
Punctaj total95

Ceva nu functioneaza?