Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, 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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0041.6 6064 3612 Accepted 100
1 2 0101.9 6456 3540 Accepted 100
2 3 0048.0 6064 3576 Accepted 100
3 4 0048.7 6064 3752 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
354 Bytes
Back to Top