Borderou de evaluare (job #3348285)

Utilizator G_b_yZamfirache Gabriel G_b_y Data 20 martie 2026 15:44:44
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void init()': main.cpp:15:19: warning: array subscript has type 'char' [-Wchar-subscripts] 15 | comp[dex[i]] = i + 1; | ~~~~~^ main.cpp: In function 'ull hsh(char*)': main.cpp:34:29: warning: array subscript has type 'char' [-Wchar-subscripts] 34 | ret += comp[tohash[i]] * Pow(12, (6 - i - 1)); | ~~~~~~~~^ main.cpp: In function 'bool compare(char*, char*)': main.cpp:41:22: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | if (comp[s1[i]] != comp[s2[i]]) { | ~~~~^ main.cpp:41:37: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | if (comp[s1[i]] != comp[s2[i]]) { | ~~~~^ main.cpp:42:30: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | return (comp[s1[i]] < comp[s2[i]]); | ~~~~^ main.cpp:42:44: warning: array subscript has type 'char' [-Wchar-subscripts] 42 | return (comp[s1[i]] < comp[s2[i]]); | ~~~~^ main.cpp: In function 'int main()': main.cpp:75:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 5 bytes from a string of length 5 [-Wstringop-truncation] 75 | strncpy(v[i], aux, 5); | ~~~~~~~^~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
39ms2146kbOK5
419ms3162kbOK5
539ms5267kbOK5
677ms8073kbOK5
70ms303kbOK5
80ms303kbOK5
91ms303kbOK5
102ms303kbOK5
113ms552kbOK5
127ms815kbOK5
1314ms1212kbOK5
1429ms2273kbOK5
1538ms2695kbOK5
1657ms3936kbOK5
1782ms5185kbOK5
18103ms6377kbOK5
19137ms8376kbMemory limit exceeded0
2043ms8306kbMemory limit exceeded0
Punctaj total90

Ceva nu functioneaza?