ENG  RUSTimus 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 1031. Railway Tickets

AC program test cases
Posted by lakerka 2 Jun 2014 01:35
3 6 8 20 30 40
7
1 6
3
7
8
13
15
23
//answer: 80

3 6 8 20 30 40
7
3 6
3
7
8
13
15
23
//answer: 40

3 6 8 20 30 40
7
2 5
3
7
8
13
15
23
//answer: 60

1 2 3 1 1000 1000000000
2
1 2
1
//answer: 1

1 2 3 1 1000 1000000000
2
2 1
1
//answer: 1
Re: AC program test cases
Posted by itm94lj 13 Jul 2016 19:13
all test case passed.but meet WA5