ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
2088
. Nostalgic Evening
Test cases 6 and 12
Posted by
Gilles Deleuze
3 Feb 2020 14:52
Test case #6:
9 40
10 10 10 10 10 10 10 10 10 10
0 5 6 1 0 0 0 0 0 0
12 20
Answer: 158882255
Test case #12:
10 20
52 4 2 3 6 7 6 3 6 5 6
6 0 0 0 0 1 0 0 0 0 1
10 50
Answer: 978217740
© 2000–2024
Timus Online Judge Team
. All rights reserved.