Pagini recente » Borderou de evaluare (job #1030760) | Borderou de evaluare (job #2687533) | Borderou de evaluare (job #2754041) | Borderou de evaluare (job #143526) | Borderou de evaluare (job #1521694)
Borderou de evaluare (job #1521694)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(trie*, char*)’:
user.cpp:15:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int count(trie*, char*)’:
user.cpp:25:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:39:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[135000]’ [-Wformat=]
scanf("%s",&v);
^
user.cpp:42:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[17]’ [-Wformat=]
{scanf("%s",&vec);
^
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(vec)>maxim)
^
user.cpp:67:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[17]’ [-Wformat=]
{scanf("%s",&vec);
^
user.cpp: In function ‘int count(trie*, char*)’:
user.cpp:31:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("seti.in","r",stdin);
^
user.cpp:34:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("seti.out","w",stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&n,&a);
^
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&v);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&m,&a);
^
user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%s",&vec);
^
user.cpp:46:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("seti.in","r",stdin);
^
user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&n,&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 380kb | OK | 10 |
2 | 4ms | 308kb | OK | 10 |
3 | 4ms | 884kb | OK | 10 |
4 | 32ms | 6088kb | OK | 10 |
5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
6 | 108ms | Depăşit | Memory limit exceeded. | 0 |
7 | 108ms | Depăşit | Memory limit exceeded. | 0 |
8 | 116ms | Depăşit | Memory limit exceeded. | 0 |
9 | 116ms | Depăşit | Memory limit exceeded. | 0 |
10 | 100ms | 15572kb | OK | 10 |
Punctaj total | 50 |