Pagini recente » Borderou de evaluare (job #2754605) | Borderou de evaluare (job #1420787) | Borderou de evaluare (job #2462147) | Borderou de evaluare (job #409366) | Borderou de evaluare (job #1521677)
Borderou de evaluare (job #1521677)
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 ‘int count(trie*, char*)’:
user.cpp:24:13: warning: NULL used in arithmetic [-Wpointer-arith]
{if(*s==NULL)
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:30:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:32: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:33: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:36: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:38:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&v[j]);
^
user.cpp:43:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%c",&v[(i-1)*64+j]);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&a);
^
user.cpp:54: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:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%s",&vec);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 352kb | OK | 10 |
2 | 4ms | 292kb | OK | 10 |
3 | 108ms | Depăşit | Memory limit exceeded. | 0 |
4 | 108ms | Depăşit | Memory limit exceeded. | 0 |
5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
6 | 112ms | Depăşit | Memory limit exceeded. | 0 |
7 | 108ms | Depăşit | Memory limit exceeded. | 0 |
8 | 108ms | Depăşit | Memory limit exceeded. | 0 |
9 | 108ms | Depăşit | Memory limit exceeded. | 0 |
10 | 92ms | 15252kb | OK | 10 |
Punctaj total | 30 |