Borderou de evaluare (job #2266811)

Utilizator giotoPopescu Ioan gioto Data 22 octombrie 2018 21:38:22
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:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:51:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:60:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < strlen(a) ; ++j) ~~^~~~~~~~~~~ main.cpp:61:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int t = j; t < strlen(a) ; ++t){ ~~^~~~~~~~~~~ main.cpp:44: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:45: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:47:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:49:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", a); ^ main.cpp:57:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:59: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
12ms262kbOK10
25ms1048kbOK10
316ms4509kbOK10
496ms28008kbOK10
5202ms54710kbTime limit exceeded0
6203ms50401kbTime limit exceeded0
7204ms37679kbTime limit exceeded0
8202ms36114kbTime limit exceeded0
9203ms35160kbTime limit exceeded0
10203ms36864kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?