Skip to content
Product /

How the daily contest works

One problem a day. Everyone, on the clock.

The same problem for every account, easy to hard by weekday. Your time to Accepted plus penalties ranks the day; points build monthly and all-time ladders, and consecutive days build a streak of their own.

Daily contest

Saturday · closes in 2:59:51

Hard · 5 pts

Wildcard Matching

string · dynamic programming · greedy

Today's board

01

arjun_k

09:41

02

meera.s

11:08

03

dev_pat

12:27 · +5:00

12

you

19:02

Your time

14:02

Penalty

+5:00

Rank

#12

How does the CodeKairo daily contest work?

Every UTC day — 05:30 in India — one problem is set for everyone: easy on Monday and Wednesday, medium on Tuesday, Thursday and Friday, hard at the weekend, never repeated within a year. The day's board ranks by your time from opening the problem to Accepted plus five minutes for each wrong submission before it; a compile error costs nothing. A solve scores 3, 4 or 5 points on the contest's own ladder with monthly and all-time standings, and when the day closes it pays 20 XP — 35 to the day's fastest solver and 30 to the second. Consecutive days build a contest streak separate from your solving streak. A problem you solved earlier still has to be submitted again on the day. Free on every plan.

codekairo/contests

Problem List

Maximum Subarray

Medium
RunSubmit
00:00/ 15:00

Description

Editorial

Hints

Given an integer array nums, find the subarray with the largest sum and return its sum.

Array
DP
Divide & Conquer

TypeScript ▾

draft autosaved

1
2
3
4
5
6
7
8

Testcase

Submissions

Case 1
[-2,1,-3,4,-1,2,1,-5,4]
expected 6
—
Case 2
[1]
expected 1
—
Case 3
[5,4,-1,7,8]
expected 23
—

FIG. 01Today's problem, solved on the clock: a wrong answer costs five minutes, Accepted stops the timer, and the board ranks the day.

01

How it works

The clock starts when you open it.

A new problem is set once per UTC day — 05:30 in India — with the difficulty following the weekday: easy on Monday and Wednesday, medium on Tuesday, Thursday and Friday, hard at the weekend. Nobody gets a different problem, and a problem is not reused for a year.

Your time runs from the moment you open it to the accepted submission, plus five minutes for every wrong submission before it — a compile error costs nothing. That time is the day's ranking; the day's points, 3, 4 or 5, go to the contest's own ladder.

Who it is for

Anyone who solves more when the problem is chosen for them and the clock is visible. Ten minutes a day on the same problem as everyone else, and a ladder that shows exactly where those ten minutes put you.

  • 01

    Open today's problem

    The same one for everyone, with the day's difficulty set by the weekday. The clock starts when you open it — not when the day did.

  • 02

    Solve it on the clock

    Run as often as you like; every wrong submission adds five minutes to your time. Accepted stops the clock.

  • 03

    See where you placed

    The day's board ranks by time plus penalties, ties to whoever finished first. Monthly and all-time ladders add the day's 3, 4 or 5 points, and at midnight UTC every solver is paid 20 XP — the fastest two 15 and 10 more.

  • 04

    Keep the streak

    The calendar marks every day solved, attempted or missed. Consecutive solves build a contest streak of their own, next to the solving streak the problem's XP already feeds.

02

Why a contest every day

Chosen for you

The hardest part of practice is picking what to practise. Here the choice is made — once a day, for everyone — and the only question left is whether you sit down.

A ladder of its own

Contest points build monthly and all-time standings separate from XP and rating, so a strong month shows even when the road and the catalogue are quiet. XP is paid beside them when the day closes: 20 for every solve, 15 more for the day's fastest and 10 for the second.

A streak of its own

Consecutive days solved build a contest streak next to the solving streak, and the calendar marks every day solved, attempted or missed. A problem you solved last year still has to be submitted again today.

03

Questions

When does the problem change?

How is the day's board ranked?

What are the points?

Does the daily contest pay XP?

Does a problem I solved earlier count?

Today's problem is waiting.

Same problem as everyone else, on the clock, free on every plan.

How the daily contest works

The same problem for everyone every day, easy to hard by weekday. Time to Accepted plus penalties ranks the day; points build monthly and all-time ladders.

How does the CodeKairo daily contest work?

Every UTC day — 05:30 in India — one problem is set for everyone: easy on Monday and Wednesday, medium on Tuesday, Thursday and Friday, hard at the weekend, never repeated within a year. The day's board ranks by your time from opening the problem to Accepted plus five minutes for each wrong submission before it; a compile error costs nothing. A solve scores 3, 4 or 5 points on the contest's own ladder with monthly and all-time standings, and when the day closes it pays 20 XP — 35 to the day's fastest solver and 30 to the second. Consecutive days build a contest streak separate from your solving streak. A problem you solved earlier still has to be submitted again on the day. Free on every plan.

How it works

  1. Open today's problem. The same one for everyone, with the day's difficulty set by the weekday. The clock starts when you open it — not when the day did.
  2. Solve it on the clock. Run as often as you like; every wrong submission adds five minutes to your time. Accepted stops the clock.
  3. See where you placed. The day's board ranks by time plus penalties, ties to whoever finished first. Monthly and all-time ladders add the day's 3, 4 or 5 points, and at midnight UTC every solver is paid 20 XP — the fastest two 15 and 10 more.
  4. Keep the streak. The calendar marks every day solved, attempted or missed. Consecutive solves build a contest streak of their own, next to the solving streak the problem's XP already feeds.

Who it is for

Anyone who solves more when the problem is chosen for them and the clock is visible. Ten minutes a day on the same problem as everyone else, and a ladder that shows exactly where those ten minutes put you.

Frequently asked questions

When does the problem change?
Once per UTC day — 05:30 in India. Difficulty follows the weekday: easy on Monday and Wednesday, medium on Tuesday, Thursday and Friday, hard on Saturday and Sunday. Everyone gets the same problem, and a problem is not reused for a year.
How is the day's board ranked?
By your time from opening the problem to the accepted submission, plus five minutes for every wrong submission before it — a compile error costs nothing. Ties go to whoever finished first.
What are the points?
Easy 3, medium 4, hard 5, on the contest's own ladder with monthly and all-time standings, separate from XP.
Does the daily contest pay XP?
Yes, when the day closes at midnight UTC (05:30 in India) and the next problem is set: 20 XP to everyone who solved it that day, plus 15 to the fastest on the day's board and 10 to the second fastest. Each solver gets a notification saying what they earned and why. It comes on top of the problem's normal first-solve XP.
Does a problem I solved earlier count?
No — you have to submit it again on the day. Consecutive days solved build a contest streak, separate from the solving streak, and the calendar shows every day as solved, attempted or missed.