Pagini recente » Borderou de evaluare (job #1661052) | Borderou de evaluare (job #912595) | Borderou de evaluare (job #961566) | Borderou de evaluare (job #1978844) | Borderou de evaluare (job #2302162)
Borderou de evaluare (job #2302162)
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:68:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[101]' [-Wformat=]
fscanf (fin, "%s", &s);
^
main.cpp:73:12: warning: unused variable '_' [-Wunused-variable]
bool _ = erase (T, s);
^
main.cpp:68:27: 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 |
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 | 4ms | 131kb | OK | 5 | 5 |
7 | 7ms | 262kb | OK | 5 | 5 |
8 | 9ms | 131kb | OK | 5 | 5 |
9 | 15ms | 524kb | OK | 5 | 5 |
10 | 22ms | 1441kb | OK | 5 | 5 |
11 | 26ms | 262kb | OK | 5 | 5 |
12 | 46ms | 2752kb | OK | 5 | 5 |
13 | 54ms | 2359kb | OK | 5 | 5 |
14 | 54ms | 655kb | OK | 5 | 5 |
15 | 63ms | 655kb | OK | 5 | 10 |
16 | 146ms | 19005kb | OK | 5 |
17 | 76ms | 393kb | OK | 5 | 10 |
18 | 145ms | 13893kb | OK | 5 |
19 | 75ms | 262kb | OK | 5 | 0 |
20 | 98ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 90 |