Borderou de evaluare (job #1475219)

Utilizator cojocarugabiReality cojocarugabi Data 23 august 2015 17:42:07
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:124:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ahocorasick.in","r",stdin); ^ user.cpp:126:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(d+1); ^ user.cpp:129:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:135:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(d+1); ^ /tmp/cc7PK6oG.o: In function `main': user.cpp:(.text.startup+0x14b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOK5
20ms556kbOK5
30ms544kbOK5
40ms492kbOK5
50ms480kbOK5
6Depăşit11244kbTime limit exceeded.0
7Depăşit10948kbTime limit exceeded.0
8Depăşit11048kbTime limit exceeded.0
9Depăşit10624kbTime limit exceeded.0
10Depăşit11256kbTime limit exceeded.0
11Depăşit10836kbTime limit exceeded.0
12Depăşit10828kbTime limit exceeded.0
1380msDepăşitMemory limit exceeded.0
1480msDepăşitMemory limit exceeded.0
1580msDepăşitMemory limit exceeded.0
1680msDepăşitMemory limit exceeded.0
1780msDepăşitMemory limit exceeded.0
1880msDepăşitMemory limit exceeded.0
1980msDepăşitMemory limit exceeded.0
2080msDepăşitMemory limit exceeded.0
Punctaj total25

Ceva nu functioneaza?