Borderou de evaluare (job #1323214)

Utilizator goalexboxerFMI Alexandru Ionascu goalexboxer Data 20 ianuarie 2015 20:08:49
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int countStr(char*)’: user.cpp:31:9: warning: variable ‘table’ set but not used [-Wunused-but-set-variable] int table[26]; //bad mismatch table ^ user.cpp: In function ‘int main()’: user.cpp:66:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.cpp:67:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^ user.cpp:69:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(str); ^ user.cpp:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:74:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(word); ^ /tmp/ccp91wZ6.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK5
20ms260kbOK5
30ms252kbOK5
40ms256kbOK5
50ms260kbOK5
636ms660kbOK5
752ms1004kbOK5
8Depăşit1088kbTime limit exceeded.0
9Depăşit1096kbTime limit exceeded.0
1096ms1100kbOK5
1136ms1100kbOK5
12Depăşit1096kbTime limit exceeded.0
1316ms660kbOK5
144ms804kbOK5
15Depăşit800kbTime limit exceeded.0
16Depăşit808kbTime limit exceeded.0
17Depăşit948kbTime limit exceeded.0
1852ms1136kbOK5
19Depăşit1128kbTime limit exceeded.0
204ms1268kbKilled by signal 6(SIGABRT).0
Punctaj total60

Ceva nu functioneaza?