Borderou de evaluare (job #1521677)

Utilizator ipus1Stefan Enescu ipus1 Data 10 noiembrie 2015 19:18:22
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
112ms352kbOK10
24ms292kbOK10
3108msDepăşitMemory limit exceeded.0
4108msDepăşitMemory limit exceeded.0
5108msDepăşitMemory limit exceeded.0
6112msDepăşitMemory limit exceeded.0
7108msDepăşitMemory limit exceeded.0
8108msDepăşitMemory limit exceeded.0
9108msDepăşitMemory limit exceeded.0
1092ms15252kbOK10
Punctaj total30

Ceva nu functioneaza?