[tutorial:1355A]↵
Author's solution: [submission:804058827149]↵
↵
[tutorial:1355B]↵
Author's solution: [submission:804059287200]↵
↵
[tutorial:1355C]↵
Author's solution using formulas: [submission:804059707222]↵
↵
Author's solution using prefix sums: [submission:804059867239]↵
↵
[tutorial:1355D]↵
Author's solution: [submission:804060227273]↵
↵
[tutorial:1355E]↵
Author's solution: [submission:804060617303]↵
↵
Author's solution using ternary search: [submission:804060817326]↵
↵
[tutorial:1355F]↵
Author's solution: [submission:804061087360]
Author's solution: [submission:8040
↵
[tutorial:1355B]↵
Author's solution: [submission:8040
↵
[tutorial:1355C]↵
Author's solution using formulas: [submission:8040
↵
Author's solution using prefix sums: [submission:8040
↵
[tutorial:1355D]↵
Author's solution: [submission:8040
↵
[tutorial:1355E]↵
Author's solution: [submission:8040
↵
Author's solution using ternary search: [submission:8040
↵
[tutorial:1355F]↵
Author's solution: [submission:8040