Pagini recente » Borderou de evaluare (job #746157) | Borderou de evaluare (job #2628354) | Borderou de evaluare (job #2322644) | Borderou de evaluare (job #2676480) | Borderou de evaluare (job #1351551)
Borderou de evaluare (job #1351551)
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/cczwbea9.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 | 384kb | OK | 5 | 5 |
3 | 4ms | 392kb | OK | 5 | 5 |
4 | 8ms | 376kb | OK | 5 | 5 |
5 | 20ms | 388kb | OK | 5 | 5 |
6 | 32ms | 388kb | OK | 5 | 5 |
7 | 64ms | 404kb | OK | 5 | 5 |
8 | 100ms | 404kb | OK | 5 | 5 |
9 | 160ms | 584kb | OK | 5 | 5 |
10 | Depăşit | 1116kb | Time limit exceeded. | 0 | 0 |
11 | Depăşit | 440kb | Time limit exceeded. | 0 | 0 |
12 | Depăşit | 1880kb | Time limit exceeded. | 0 | 0 |
13 | Depăşit | 1620kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 680kb | Time limit exceeded. | 0 | 0 |
15 | Depăşit | 652kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 5988kb | Time limit exceeded. | 0 |
17 | Depăşit | 396kb | Time limit exceeded. | 0 | 0 |
18 | Depăşit | 5200kb | Time limit exceeded. | 0 |
19 | Depăşit | 404kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 5908kb | Time limit exceeded. | 0 |
Punctaj total | 45 |