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

×

January challenge 2018 question - maximum score

I read through the problem statement and what i didnt understand is what is the point of having T (test cases). in the example provided with T=1 it shows one result 18. if i were to have T=2 what would another result be?

here is the link https://www.codechef.com/JAN18/problems/MAXSC

asked 19 Nov '18, 06:38

shivakumar1995's gravatar image

0★shivakumar1995
1
accept rate: 0%

If you have another test case, you'll also be given a new $N$ and another set of sequences to analyse. Which will give you another answer to output.

(19 Nov '18, 06:55) joffan5★

Hey thank you, I was able to solve the question. though it only awarded me 18 points to me. how do i fulfil for the other constrains also?. is it by limiting the user input of N and T by simply writing conditions to make sure they lie within the prescribed limit?

(28 Nov '18, 12:09) shivakumar19950★

There is no need to write conditions for constraints, constraints are there to provide us information of input, which type of input will be given and what is the minimum maximum value of perticular variable

(28 Nov '18, 13:03) admin55★

$T$ represents number of independent sequences you need to give correct answer of. WA means that for some sequences, your output was wrong. Try finding out which sequence it might be or where you went wrong in your algorithm/code

(28 Nov '18, 13:05) vijju123 ♦♦5★
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:

×191

question asked: 19 Nov '18, 06:38

question was seen: 181 times

last updated: 28 Nov '18, 13:05