Basecamp
    Home
    Problems
    Contests
    Courses
    Rating
    Posts
    Store
    Discord
Dyadka_Dimka
Sign in
Dmytro Savochkin
Dyadka_Dimka
Ukraine
Ukraine
Joined Sep 8, 2016
OverviewPosts

Problems81
Submissions156
11월
12월
2020
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2021
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2022
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2023
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2024
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2025
2월
3월
4월
5월
6월
7월
8월
9월
Dyadka_Dimka left a comment in discussion Eolymp-value (#12235)8일 전

MathModel Finally get it, thank you very much!!! Somehow, it was completely not obvious to me, that (1 mod k + 2 mod k + ... + n mod k) = ((1+2+...+n) mod k). Not I see it.

Dyadka_Dimka left a comment in discussion Eolymp-value (#12235)8일 전

MathModel You are not helping

Dyadka_Dimka left a comment in discussion Eolymp-value (#12235)9일 전

MathModel "mod" refers to the modulo operation, which calculates the remainder of an integer division. I implied in the comment, that there is a mistake in a condition. The function is not "sum (i mod k)", but "(sum i) mod k".

Dyadka_Dimka left a comment in discussion Eolymp-value (#12235)9일 전

Здається, є помилка в умові задачі. Наскільки я зрозумів, функція f(n, k) дорівнює сумі чисел від 1 до n, яку ділять на k та беруть залишок. А в умові (i mod k) - взято в дужки, що означає суму остач від ділення кожного з чисел i на k.

Dyadka_Dimka solved problem Slowdown Sprint (#12234) on 3 attempt9일 전
Dyadka_Dimka has joined contest Blitz Round #316일 전
Dyadka_Dimka solved problem Euclidean Algorithm (#413) on 2 attempt1개월 전
Dyadka_Dimka solved problem Queen (#618) on 5 attempt1년 전
Dyadka_Dimka solved problem Romero’s Dilemma (#434) on 19 attempt1년 전
Dyadka_Dimka solved problem Dangerous route (#325) on 7 attempt1년 전
Dyadka_Dimka solved problem Star Routes (#268) on 2 attempt1년 전
Dyadka_Dimka solved problem Cleaning up the Snow (#61) on 4 attempt1년 전
Dyadka_Dimka solved problem Mail of the sponsor (#37) on 8 attempt1년 전
Dyadka_Dimka solved problem Balanced Binary Tree (#7466) on 23 attempt2년 전