Borderou de evaluare (job #2985362)

Utilizator stefandutastefandutahoria stefanduta Data 26 februarie 2023 12:40:09
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:12: warning: unused variable 'n' [-Wunused-variable] 41 | int t, n, i, j; | ^ main.cpp:41:18: warning: unused variable 'j' [-Wunused-variable] 41 | int t, n, i, j; | ^ main.cpp:105:47: warning: 'hash2' may be used uninitialized [-Wmaybe-uninitialized] 105 | if (hash1 == h1p && hash2 == h2p) | ~~~~~~^~~~~~ main.cpp:46:124: note: 'hash2' was declared here 46 | long long h1p = 0, h1d = 0, h2p = 0, h2d = 0, put1 = 1, put2 = 1, poz1 = 0, poz2 = 1, maxx1 = 0, maxx2 = 0, hash1, hash2, lungime = 0; | ^~~~~ main.cpp:105:31: warning: 'hash1' may be used uninitialized [-Wmaybe-uninitialized] 105 | if (hash1 == h1p && hash2 == h2p) | ~~~~~~^~~~~~ main.cpp:46:117: note: 'hash1' was declared here 46 | long long h1p = 0, h1d = 0, h2p = 0, h2d = 0, put1 = 1, put2 = 1, poz1 = 0, poz2 = 1, maxx1 = 0, maxx2 = 0, hash1, hash2, lungime = 0; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbOK10
30ms184kbIncorect0
422ms839kbKilled by Signal 110
59ms434kbIncorect0
612ms634kbKilled by Signal 70
763ms1372kbIncorect0
812ms1404kbKilled by Signal 110
94ms303kbIncorect0
100ms172kbIncorect0
Punctaj total10

Ceva nu functioneaza?