Pagini recente » Borderou de evaluare (job #1753910) | Borderou de evaluare (job #199232) | Borderou de evaluare (job #97404) | Borderou de evaluare (job #545705) | Borderou de evaluare (job #1753561)
Borderou de evaluare (job #1753561)
Raport evaluator
Compilare:
user.cpp: In function ‘void trieAdd(TRIE*, char*)’:
user.cpp:27:34: warning: NULL used in arithmetic [-Wpointer-arith]
for (int it = 0; word[it] != NULL; ++it) {
^
user.cpp: In function ‘int trieCount(TRIE*, char*)’:
user.cpp:58:46: warning: NULL used in arithmetic [-Wpointer-arith]
for (it = 0; root != NULL && word[it] != NULL; ++it) {
^
user.cpp:62:24: warning: NULL used in arithmetic [-Wpointer-arith]
return word[it] != NULL || root == NULL ? 0 : root->apparitions;
^
user.cpp: In function ‘int prefixCount(TRIE*, char*)’:
user.cpp:68:50: warning: NULL used in arithmetic [-Wpointer-arith]
for (int it = 0; root != NULL && word[it] != NULL; ++it) {
^
user.cpp: In function ‘int main()’:
user.cpp:85: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:86: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:89:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %s\n", &operation, word);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 432kb | OK | 5 | 5 |
| 2 | 0ms | 440kb | Incorect | 0 | 0 |
| 3 | 0ms | 444kb | Incorect | 0 | 0 |
| 4 | 0ms | 440kb | Incorect | 0 | 0 |
| 5 | 0ms | 440kb | Incorect | 0 | 0 |
| 6 | 0ms | 444kb | Incorect | 0 | 0 |
| 7 | 4ms | 460kb | Incorect | 0 | 0 |
| 8 | 4ms | 460kb | Incorect | 0 | 0 |
| 9 | 8ms | 596kb | Incorect | 0 | 0 |
| 10 | 12ms | 1100kb | Incorect | 0 | 0 |
| 11 | 16ms | 492kb | Incorect | 0 | 0 |
| 12 | 28ms | 1816kb | Incorect | 0 | 0 |
| 13 | 36ms | 1552kb | Incorect | 0 | 0 |
| 14 | 36ms | 708kb | Incorect | 0 | 0 |
| 15 | 44ms | 680kb | Incorect | 0 | 0 |
| 16 | 92ms | 10952kb | Incorect | 0 |
| 17 | 52ms | 460kb | Incorect | 0 | 0 |
| 18 | 92ms | 8308kb | Incorect | 0 |
| 19 | 56ms | 468kb | Incorect | 0 | 0 |
| 20 | 104ms | 13796kb | Incorect | 0 |
| Punctaj total | 5 |