Borderou de evaluare (job #2591393)

Utilizator ezioconnorVlad - Gabriel Iftimescu ezioconnor Data 30 martie 2020 13:50:32
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In function 'void dfs(trie*)': main.cpp:44:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<nod->v.size(); ++i) ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:53:25: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1000005]' [-Wformat=] fscanf(fin, "%s", &A); fscanf(fin, "%d", &n); ^ main.cpp:56:29: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[10005]' [-Wformat=] fscanf(fin, "%s", &s); ^ main.cpp:53:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &A); fscanf(fin, "%d", &n); ^ main.cpp:53:49: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &A); fscanf(fin, "%d", &n); ^ main.cpp:56:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
613ms917kbOK5
722ms1310kbOK5
824ms1966kbOK5
925ms2228kbOK5
1022ms1572kbOK5
1123ms1179kbOK5
1222ms1835kbOK5
1310ms655kbOK5
1411ms786kbOK5
1515ms1310kbOK5
1615ms1441kbOK5
1718ms1310kbOK5
1818ms1179kbOK5
1923ms2097kbOK5
20101ms4063kbTime limit exceeded0
Punctaj total95

Ceva nu functioneaza?