Pagini recente » Borderou de evaluare (job #52905) | Borderou de evaluare (job #3252869) | Borderou de evaluare (job #247097) | Borderou de evaluare (job #1065121) | Borderou de evaluare (job #1675480)
Borderou de evaluare (job #1675480)
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 | 436kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 68ms | 548kb | Incorect | 0 |
5 | 88ms | 548kb | Incorect | 0 |
6 | 84ms | 548kb | Incorect | 0 |
7 | 88ms | 544kb | Incorect | 0 |
8 | 20ms | 500kb | Incorect | 0 |
9 | 92ms | 552kb | Incorect | 0 |
10 | 80ms | 548kb | Incorect | 0 |
Punctaj total | 30 |