Pagini recente » Borderou de evaluare (job #1885632) | Borderou de evaluare (job #1197538) | Borderou de evaluare (job #2498116) | Borderou de evaluare (job #2687026) | Borderou de evaluare (job #2302167)
Borderou de evaluare (job #2302167)
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 | 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 | 48ms | 2752kb | OK | 5 | 5 |
| 13 | 55ms | 2359kb | OK | 5 | 5 |
| 14 | 54ms | 655kb | OK | 5 | 5 |
| 15 | 64ms | 655kb | OK | 5 | 10 |
| 16 | 142ms | 19005kb | OK | 5 |
| 17 | 88ms | 262kb | OK | 5 | 10 |
| 18 | 150ms | 13893kb | OK | 5 |
| 19 | 62ms | 262kb | OK | 5 | 0 |
| 20 | 153ms | 23494kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |