Pagini recente » Borderou de evaluare (job #2276032) | Borderou de evaluare (job #2031235) | Borderou de evaluare (job #803039) | Borderou de evaluare (job #434650) | Borderou de evaluare (job #2324375)
Borderou de evaluare (job #2324375)
Raport evaluator
Compilare:
main.cpp: In function 'void update(Trie*, char*)':
main.cpp:23:13: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s == NULL) {
^~~~
main.cpp: In function 'bool erase(Trie*, char*)':
main.cpp:35:13: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s == NULL) {
^~~~
main.cpp: In function 'int query(Trie*, char*)':
main.cpp:50:13: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s == NULL)
^~~~
main.cpp: In function 'int prefix(Trie*, char*, int)':
main.cpp:58:13: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s == NULL)
^~~~
main.cpp: In function 'int main()':
main.cpp:69:28: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[101]' [-Wformat=]
fscanf (fin, "%s\n", &s);
^
main.cpp:74:12: warning: unused variable '_' [-Wunused-variable]
bool _ = erase (T, s);
^
main.cpp:68:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &op);
^
main.cpp:69:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%s\n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 5 |
2 | 2ms | 131kb | OK | 5 | 5 |
3 | 3ms | 131kb | OK | 5 | 5 |
4 | 3ms | 131kb | OK | 5 | 5 |
5 | 4ms | 131kb | OK | 5 | 5 |
6 | 5ms | 131kb | OK | 5 | 5 |
7 | 7ms | 131kb | OK | 5 | 5 |
8 | 9ms | 131kb | OK | 5 | 5 |
9 | 15ms | 262kb | OK | 5 | 5 |
10 | 21ms | 786kb | OK | 5 | 5 |
11 | 27ms | 262kb | OK | 5 | 5 |
12 | 44ms | 1572kb | OK | 5 | 5 |
13 | 51ms | 1310kb | OK | 5 | 5 |
14 | 54ms | 524kb | OK | 5 | 5 |
15 | 66ms | 393kb | OK | 5 | 10 |
16 | 127ms | 10223kb | OK | 5 |
17 | 162ms | 262kb | OK | 5 | 10 |
18 | 131ms | 7602kb | OK | 5 |
19 | 82ms | 262kb | OK | 5 | 10 |
20 | 146ms | 13762kb | OK | 5 |
Punctaj total | 100 |