Pagini recente » Borderou de evaluare (job #2332223) | Borderou de evaluare (job #876460) | Borderou de evaluare (job #138045) | Borderou de evaluare (job #1064801) | Borderou de evaluare (job #2302159)
Borderou de evaluare (job #2302159)
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 | 5ms | 131kb | OK | 5 | 5 |
| 7 | 7ms | 131kb | OK | 5 | 5 |
| 8 | 9ms | 131kb | OK | 5 | 5 |
| 9 | 15ms | 524kb | OK | 5 | 5 |
| 10 | 22ms | 1441kb | OK | 5 | 5 |
| 11 | 25ms | 262kb | OK | 5 | 5 |
| 12 | 46ms | 2752kb | OK | 5 | 5 |
| 13 | 53ms | 2359kb | OK | 5 | 5 |
| 14 | 52ms | 655kb | OK | 5 | 5 |
| 15 | 62ms | 655kb | OK | 5 | 10 |
| 16 | 148ms | 19005kb | OK | 5 |
| 17 | 85ms | 262kb | OK | 5 | 10 |
| 18 | 124ms | 13893kb | OK | 5 |
| 19 | 76ms | 262kb | OK | 5 | 0 |
| 20 | 103ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |