Borderou de evaluare (job #2266836)

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

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:54:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:64:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:48: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:49: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:51:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:53:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^ main.cpp:61:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:63: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
422ms1179kbOK10
5133ms2506kbOK10
6203ms2818kbTime limit exceeded0
7203ms9940kbTime limit exceeded0
8203ms10010kbTime limit exceeded0
9203ms10153kbTime limit exceeded0
10203ms9760kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?