Pagini recente » Borderou de evaluare (job #1624912) | Monitorul de evaluare | Borderou de evaluare (job #1392199) | Borderou de evaluare (job #2524970) | Borderou de evaluare (job #1731052)
Borderou de evaluare (job #1731052)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:19:38: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(next,NULL,sizeof(next));
^
user.cpp: In function ‘int main()’:
user.cpp:101:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(buff) < minLen)
^
user.cpp: In function ‘bool searchTrie(char*, trie*)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘bool searchTrie2(char*, trie*)’:
user.cpp:77:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:86:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Na);
^
user.cpp:99:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff);
^
user.cpp:113:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Nb);
^
/tmp/cceMJaAD.o: In function `main':
user.cpp:(.text.startup+0x148): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 484kb | Incorect | 0 |
| 2 | 0ms | 880kb | Incorect | 0 |
| 3 | 4ms | 2592kb | Incorect | 0 |
| 4 | 28ms | 14548kb | Incorect | 0 |
| 5 | 140ms | 70032kb | Incorect | 0 |
| 6 | 180ms | 87848kb | Incorect | 0 |
| 7 | Depăşit | 110744kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 114568kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 111668kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 114304kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |