You are not logged in. Please login at www.codechef.com to post your questions!

×

WA In IPCTRAIN JULY LONG

Link to question : https://www.codechef.com/JULY17/problems/IPCTRAIN/

Link to solution : https://www.codechef.com/viewsolution/14508935

I have already solved this problem ,Just wanted to know testcase at which my code fails .

asked 17 Jul '17, 16:10

chunky_2808's gravatar image

3★chunky_2808
1649
accept rate: 4%


your code fails for this testcase

1

6 6

1 3 50

2 2 10

3 3 400

4 2 200

5 3 300

6 4 100

Expected output:1470

Your Output:1420

link

answered 17 Jul '17, 16:18

hruday968's gravatar image

4★hruday968
1.7k210
accept rate: 14%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×471
×29
×19

question asked: 17 Jul '17, 16:10

question was seen: 168 times

last updated: 17 Jul '17, 16:18