Pagini recente » Borderou de evaluare (job #2303156) | Borderou de evaluare (job #2066276) | Borderou de evaluare (job #2755761) | Borderou de evaluare (job #1799511) | Borderou de evaluare (job #1675509)
Borderou de evaluare (job #1675509)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_nr_int(int)’:
user.cpp:54:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < ints.size(); ++i)
^
user.cpp: In function ‘int get_prev(std::vector<std::pair<long long int, long long int> >&, pll)’:
user.cpp:80:20: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int l, r, mid, ans;
^
user.cpp: In function ‘int get_nr_int(int)’:
user.cpp:80:20: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In function ‘int main()’:
user.cpp:34:55: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nr_max[i] = max(nr_max[i - 1], nr_max[prev_int] + nr_int[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 440kb | OK | 10 |
| 4 | 68ms | 552kb | Incorect | 0 |
| 5 | 88ms | 548kb | Incorect | 0 |
| 6 | 84ms | 544kb | Incorect | 0 |
| 7 | 88ms | 548kb | Incorect | 0 |
| 8 | 20ms | 504kb | Incorect | 0 |
| 9 | 92ms | 544kb | Incorect | 0 |
| 10 | 80ms | 544kb | Incorect | 0 |
| Punctaj total | 30 |