Borderou de evaluare (job #2266821)

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

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:56:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:57:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:66:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:50: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:51: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:53:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:55:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^ main.cpp:63:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:65: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
13ms131kbOK10
23ms262kbOK10
35ms393kbOK10
427ms1179kbOK10
5155ms2592kbOK10
6183ms2711kbOK10
7202ms9887kbTime limit exceeded0
8203ms10022kbTime limit exceeded0
9203ms10207kbTime limit exceeded0
10203ms9682kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?