Borderou de evaluare (job #2985362)
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 |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | OK | 10 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 22ms | 839kb | Killed by Signal 11 | 0 |
5 | 9ms | 434kb | Incorect | 0 |
6 | 12ms | 634kb | Killed by Signal 7 | 0 |
7 | 63ms | 1372kb | Incorect | 0 |
8 | 12ms | 1404kb | Killed by Signal 11 | 0 |
9 | 4ms | 303kb | Incorect | 0 |
10 | 0ms | 172kb | Incorect | 0 |
Punctaj total | 10 |