Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 $N = 10^ {12}, \text{Limit} = 4N\lfloor\log_{2}{N}\rfloor$ 10 / 10
2 1 $N = 10^ 5, \text{Limit} = \max(8000, 400 + 4K^ {3/2} )$ 25 / 25
3 2 $N = 10^ {14}, \text{limit} = 4K (\lfloor\log_{2}{K}\rfloor + 1)^ 2$ 30 / 30
4 3 $N = 10^ {14}, \text{Limit} = 4K (\lfloor\log_{2}{K}\rfloor + 1)$ 35 / 35

Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 48 3388 Accepted 100
1 2 100 3236 Accepted 100
2 3 60 3412 Accepted 100
3 4 56 3272 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
360 Bytes
Back to Top