Borderou de evaluare (job #1677132)

Utilizator serbanSlincu Serban serban Data 6 aprilie 2016 12:54:41
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In constructor ‘trie::trie()’: user.cpp:12:34: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null] memset(t, NULL, sizeof(t)); ^ user.cpp: In function ‘int main()’: user.cpp:52:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[2005]’ [-Wformat=] fscanf(f, "%s\n", &s[i]); ^ user.cpp:58:30: warning: unused variable ‘mid’ [-Wunused-variable] int r = 2005, l = 1, mid, ret = 0; ^ user.cpp:50:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &n, &m); ^ user.cpp:52:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s\n", &s[i]); ^ user.cpp:59:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &C); ^ user.cpp:61:56: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &w[i]), r = min(r, N[w[i]]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit16564kbTime limit exceeded.0
2Depăşit16724kbTime limit exceeded.0
376ms19608kbOK5
476ms19612kbOK5
576ms18236kbOK5
676ms18240kbOK5
776msDepăşitMemory limit exceeded.0
876msDepăşitMemory limit exceeded.0
976msDepăşitMemory limit exceeded.0
10Depăşit16724kbTime limit exceeded.0
11Depăşit9472kbTime limit exceeded.0
12Depăşit24936kbTime limit exceeded.0
13Depăşit17036kbTime limit exceeded.0
14Depăşit24936kbTime limit exceeded.0
15Depăşit17208kbTime limit exceeded.0
16Depăşit51704kbTime limit exceeded.0
17Depăşit65100kbTime limit exceeded.0
1880msDepăşitMemory limit exceeded.0
19Depăşit61572kbTime limit exceeded.0
20Depăşit61136kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?