Pagini recente » Borderou de evaluare (job #442231) | Borderou de evaluare (job #1375849) | Borderou de evaluare (job #2151725) | Borderou de evaluare (job #2756745) | Borderou de evaluare (job #1351499)
Borderou de evaluare (job #1351499)
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/ccrNTLbJ.o: In function `main':
user.cpp:(.text.startup+0xdb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 372kb | OK | 5 | 5 |
2 | 0ms | 376kb | OK | 5 | 5 |
3 | 4ms | 388kb | OK | 5 | 5 |
4 | 8ms | 384kb | OK | 5 | 5 |
5 | 20ms | 376kb | OK | 5 | 5 |
6 | 32ms | 384kb | OK | 5 | 5 |
7 | 64ms | 404kb | OK | 5 | 5 |
8 | 100ms | 404kb | OK | 5 | 5 |
9 | 160ms | 564kb | OK | 5 | 5 |
10 | Depăşit | 1036kb | Time limit exceeded. | 0 | 0 |
11 | Depăşit | 432kb | Time limit exceeded. | 0 | 0 |
12 | Depăşit | 1704kb | Time limit exceeded. | 0 | 0 |
13 | Depăşit | 1468kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 640kb | Time limit exceeded. | 0 | 0 |
15 | Depăşit | 620kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 5380kb | Time limit exceeded. | 0 |
17 | Depăşit | 392kb | Time limit exceeded. | 0 | 0 |
18 | Depăşit | 4588kb | Time limit exceeded. | 0 |
19 | Depăşit | 400kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 5412kb | Time limit exceeded. | 0 |
Punctaj total | 45 |