Borderou de evaluare (job #2266816)

Utilizator giotoPopescu Ioan gioto Data 22 octombrie 2018 21:40:56
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In constructor 'Trie::Trie()': main.cpp:13:38: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(fiu, NULL, sizeof(fiu)); ^ main.cpp: In function 'int main()': main.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:56:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:66:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:49:34: 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); ^ main.cpp:50:36: 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); ^ main.cpp:52:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:54:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^ main.cpp:62:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:64:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms262kbOK10
26ms1048kbOK10
317ms4968kbOK10
4122ms32526kbOK10
5202ms36036kbTime limit exceeded0
6203ms21049kbTime limit exceeded0
7200ms10399kbTime limit exceeded0
8203ms10727kbTime limit exceeded0
9201ms10862kbTime limit exceeded0
10204ms10371kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?