Masala #VYPKCCQHWJ
Xotira 32 MB
Vaqt 500 ms
14
MATH
1*2+2*3+3*4+4*5 +…….+n*(n+1)
Sizga n soni beriladi .Siz esa tepadagi qonuniyat asosida javobni chop eting.
Kiruvchi ma'lumotlar:
Kirish faylida n(1≤n≤10**100)soni kiritiladi.
Chiquvchi ma'lumotlar:
javobni 10**9+7 ga yaxlitlab chop eting.
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
9999439880689794465380510721964856109209282925960246661509622864163962367688250704938477718296580727 |
380635459 |
Izoh:
TIME LIMIT😆