Pagini recente » Borderou de evaluare (job #624343) | Borderou de evaluare (job #1332095) | Borderou de evaluare (job #244056) | Borderou de evaluare (job #1275585) | Borderou de evaluare (job #1351582)
Borderou de evaluare (job #1351582)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(Trie*, char*)’:
user.cpp:18:25: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s==NULL)
^
user.cpp: In function ‘void remove(Trie*, char*)’:
user.cpp:32:25: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s==NULL)
^
user.cpp: In function ‘int NrAparitii(Trie*, char*)’:
user.cpp:47:25: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s==NULL)
^
user.cpp: In function ‘int prefix(Trie*, char*, int)’:
user.cpp:55:51: warning: NULL used in arithmetic [-Wpointer-arith]
if (t->fii[s[0]-'a']==NULL || *s==NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:74:29: warning: NULL used in arithmetic [-Wpointer-arith]
if (*s==NULL) continue;
^
user.cpp: In function ‘int NrAparitii(Trie*, char*)’:
user.cpp:52:13: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:67:45: 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:68:47: 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:72:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&p,&z);
^
user.cpp:73:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccDItyuy.o: In function `main':
user.cpp:(.text.startup+0xd6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 5 | 5 |
2 | 0ms | 272kb | OK | 5 | 5 |
3 | 0ms | 284kb | OK | 5 | 5 |
4 | 0ms | 276kb | OK | 5 | 5 |
5 | 0ms | 280kb | OK | 5 | 5 |
6 | 0ms | 284kb | OK | 5 | 5 |
7 | 4ms | 296kb | OK | 5 | 5 |
8 | 4ms | 300kb | OK | 5 | 5 |
9 | 8ms | 484kb | OK | 5 | 5 |
10 | 12ms | 1012kb | OK | 5 | 5 |
11 | 16ms | 336kb | OK | 5 | 5 |
12 | 32ms | 1836kb | OK | 5 | 5 |
13 | 36ms | 1548kb | OK | 5 | 5 |
14 | 40ms | 576kb | OK | 5 | 5 |
15 | 48ms | 548kb | OK | 5 | 10 |
16 | 100ms | 12228kb | OK | 5 |
17 | 76ms | 8524kb | OK | 5 | 10 |
18 | 104ms | 9300kb | OK | 5 |
19 | 60ms | 304kb | OK | 5 | 10 |
20 | 112ms | 15416kb | OK | 5 |
Punctaj total | 100 |