Pagini recente » Borderou de evaluare (job #2426128) | Borderou de evaluare (job #842442) | Borderou de evaluare (job #3220273) | Borderou de evaluare (job #2399623) | Borderou de evaluare (job #1519804)
Borderou de evaluare (job #1519804)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(trie*, char*)’:
user.cpp:14:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘bool remove(trie*, char*)’:
user.cpp:25:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int count(trie*, char*)’:
user.cpp:39:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int prefix(trie*, char*)’:
user.cpp:47:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:59:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=]
while(scanf("%s",&s)!=EOF)
^
user.cpp:54:31: 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:55:32: 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:57:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:74:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 280kb | OK | 5 | 5 |
| 2 | 0ms | 292kb | OK | 5 | 5 |
| 3 | 0ms | 292kb | OK | 5 | 5 |
| 4 | 0ms | 284kb | OK | 5 | 5 |
| 5 | 0ms | 284kb | OK | 5 | 5 |
| 6 | 0ms | 296kb | OK | 5 | 5 |
| 7 | 4ms | 312kb | OK | 5 | 5 |
| 8 | 4ms | 308kb | OK | 5 | 5 |
| 9 | 8ms | 448kb | OK | 5 | 5 |
| 10 | 12ms | 948kb | OK | 5 | 5 |
| 11 | 16ms | 348kb | OK | 5 | 5 |
| 12 | 32ms | 1644kb | OK | 5 | 5 |
| 13 | 36ms | 1392kb | OK | 5 | 5 |
| 14 | 36ms | 556kb | OK | 5 | 5 |
| 15 | 44ms | 528kb | OK | 5 | 10 |
| 16 | 88ms | 10112kb | OK | 5 |
| 17 | 48ms | 404kb | Killed by signal 6(SIGABRT). | 0 | 0 |
| 18 | 92ms | 7452kb | OK | 5 |
| 19 | 56ms | 316kb | OK | 5 | 10 |
| 20 | 104ms | 13500kb | OK | 5 |
| Punctaj total | 90 |