Комментарии
На HudayarLet's grow!, 5 лет назад
0

ok, i'm in.

Codeforces PPOLICE

На AlFlenCodeforces Round #750 (Div. 2), 5 лет назад
0

unfortunately yes :(

YES !

0

yep, it gives tle on n = 40 k = 3 a[] = [-1,-1,....-1].

+3

you are initialising dp with -1, won't it give TLE when all the elements of the array are -1 or there are many subarrays with sum -1 ? I thought so and initialised my dp with -1e18, but it couldn't pass subtask3.

На chokudaiAtCoder Beginner Contest 188 Announcement, 6 лет назад
0

Can anybody give a test case for which my solution is failing. It is failing only on one test case (random_25) Link Edit: Found the mistake (interval * hope[i].second was too big to fit in long long

На DS007Codeforces Round #695 (Div. 2), 6 лет назад
+21

Fastest system testing.

На DS007Codeforces Round #695 (Div. 2), 6 лет назад
0

I got 4 WA in A and 4 WA in B, but managed to solve both.