Question on Problem 474D

Правка en1, от BanazadehAria, 2019-06-16 17:42:04

Hi, In this question I posted my code by it seems that it gets overflow at some point of my code.

But I'm getting %MOD every time I want to subtract or sum things.

Problem link ==> https://codeforces.net/problemset/problem/474/D.

My Submission==> 55651145

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский BanazadehAria 2019-06-16 17:42:36 13 Tiny change: 'ission==> 55651145' -> 'ission==> [submission:55651145]'
en1 Английский BanazadehAria 2019-06-16 17:42:04 290 Initial revision (published)