Pagini recente » Borderou de evaluare (job #2339470) | Borderou de evaluare (job #142711) | Borderou de evaluare (job #1479026) | Monitorul de evaluare | Borderou de evaluare (job #1351522)
Borderou de evaluare (job #1351522)
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/ccoh4dwD.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 | 368kb | OK | 5 | 5 |
| 2 | 0ms | 380kb | OK | 5 | 5 |
| 3 | 4ms | 388kb | OK | 5 | 5 |
| 4 | 8ms | 384kb | OK | 5 | 5 |
| 5 | 20ms | 384kb | OK | 5 | 5 |
| 6 | 32ms | 388kb | OK | 5 | 5 |
| 7 | 64ms | 412kb | OK | 5 | 5 |
| 8 | 100ms | 400kb | OK | 5 | 5 |
| 9 | 160ms | 588kb | OK | 5 | 5 |
| 10 | Depăşit | 1116kb | Time limit exceeded. | 0 | 0 |
| 11 | Depăşit | 440kb | Time limit exceeded. | 0 | 0 |
| 12 | Depăşit | 1884kb | Time limit exceeded. | 0 | 0 |
| 13 | Depăşit | 1616kb | Time limit exceeded. | 0 | 0 |
| 14 | Depăşit | 676kb | Time limit exceeded. | 0 | 0 |
| 15 | Depăşit | 644kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 6060kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 392kb | Time limit exceeded. | 0 | 0 |
| 18 | Depăşit | 5200kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 400kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 6124kb | Time limit exceeded. | 0 |
| Punctaj total | 45 |