Pagini recente » Borderou de evaluare (job #2276266) | Borderou de evaluare (job #1275545) | Borderou de evaluare (job #2685685) | Borderou de evaluare (job #2703971) | Borderou de evaluare (job #1753778)
Borderou de evaluare (job #1753778)
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 | 436kb | OK | 5 | 5 |
2 | 0ms | 440kb | OK | 5 | 5 |
3 | 0ms | 444kb | OK | 5 | 5 |
4 | 0ms | 440kb | OK | 5 | 5 |
5 | 0ms | 444kb | OK | 5 | 5 |
6 | 0ms | 448kb | OK | 5 | 5 |
7 | 4ms | 464kb | OK | 5 | 5 |
8 | 4ms | 460kb | OK | 5 | 5 |
9 | 8ms | 600kb | Incorect | 0 | 0 |
10 | 12ms | 1096kb | OK | 5 | 5 |
11 | 16ms | 496kb | OK | 5 | 5 |
12 | 28ms | 1796kb | Incorect | 0 | 0 |
13 | 36ms | 1548kb | Incorect | 0 | 0 |
14 | 36ms | 712kb | OK | 5 | 5 |
15 | 44ms | 680kb | OK | 5 | 0 |
16 | 92ms | 10264kb | Incorect | 0 |
17 | 56ms | 460kb | Incorect | 0 | 0 |
18 | 96ms | 7604kb | Incorect | 0 |
19 | 56ms | 468kb | OK | 5 | 10 |
20 | 104ms | 13652kb | OK | 5 |
Punctaj total | 65 |