Pagini recente » Borderou de evaluare (job #464121) | Cod sursa (job #3001605) | Borderou de evaluare (job #297822) | Borderou de evaluare (job #1688556) | Borderou de evaluare (job #1829366)
Borderou de evaluare (job #1829366)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_trie(trie*, char*)’:
user.cpp:22:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^
user.cpp: In function ‘bool delete_trie(trie*, char*)’:
user.cpp:39:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^
user.cpp: In function ‘int find_trie(trie*, char*)’:
user.cpp:61:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL)
^
user.cpp: In function ‘int longest_prefix(trie*, char*)’:
user.cpp:72:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*s == NULL || aux->son[code(*s)] == NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:83:12: warning: variable ‘f’ set but not used [-Wunused-but-set-variable]
int q, f;
^
user.cpp:80:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in", "r", stdin);
^
user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out", "w", stdout);
^
user.cpp:87:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:100:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccXa7Rih.o: In function `main':
user.cpp:(.text.startup+0xb5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 228kb | OK | 5 | 5 |
2 | 0ms | 232kb | OK | 5 | 5 |
3 | 0ms | 236kb | OK | 5 | 5 |
4 | 0ms | 236kb | OK | 5 | 5 |
5 | 0ms | 236kb | OK | 5 | 5 |
6 | 0ms | 240kb | OK | 5 | 5 |
7 | 0ms | 264kb | OK | 5 | 5 |
8 | 0ms | 256kb | OK | 5 | 5 |
9 | 4ms | 396kb | OK | 5 | 5 |
10 | 8ms | 896kb | OK | 5 | 5 |
11 | 12ms | 296kb | OK | 5 | 5 |
12 | 20ms | 1592kb | OK | 5 | 5 |
13 | 24ms | 1348kb | OK | 5 | 5 |
14 | 24ms | 504kb | OK | 5 | 5 |
15 | 28ms | 472kb | OK | 5 | 10 |
16 | 76ms | 10064kb | OK | 5 |
17 | 44ms | 252kb | OK | 5 | 10 |
18 | 76ms | 7404kb | OK | 5 |
19 | 36ms | 260kb | OK | 5 | 10 |
20 | 84ms | 13444kb | OK | 5 |
Punctaj total | 100 |