Borderou de evaluare (job #1511940)
Raport evaluator
Compilare:
user.cpp: In function ‘std::pair<int, int> mooreMajority(std::vector<int>&)’:
user.cpp:9:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++) {
^
user.cpp:24:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++) {
^
user.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (voters > v.size() / 2) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | OK | 10 |
2 | 0ms | 396kb | Incorect | 0 |
3 | 0ms | 404kb | Incorect | 0 |
4 | 0ms | 504kb | Incorect | 0 |
5 | 12ms | 636kb | Incorect | 0 |
6 | 24ms | 896kb | OK | 10 |
7 | 48ms | 1288kb | Incorect | 0 |
8 | 120ms | 2332kb | Incorect | 0 |
9 | 236ms | 4428kb | OK | 10 |
10 | 240ms | 4428kb | Incorect | 0 |
Punctaj total | 30 |