×

long challenge jan. please check i/o( input -output )ambiguity(if any) in Sereja and Circles

 0 here is the link of problem https://www.codechef.com/JAN17/problems/SEACIR ..Sereja and Circles it is given in question as First line will contain three space separated integers N, S, skip. Next line contains 2*N numbers written on the sheet of paper. Input + Output: 5 10 2 1 1 1 1 1 2 2 2 2 2 1 <9 1 1 <1 9 2 <-1 -1 2 <-1 -1 2 <2 2 can one please tell we have to take '<' and '>' in input and output and is there space between > and input , and < and output. also if 2*n size (which is said to be written on sheet of paper) required to taken as input due to input output ambiguity we are getin WA. asked 11 Jan '17, 21:16 144●5 accept rate: 3%

 2 Hi @vijayiota the input+ outputs are 5 10 2 1 1 1 1 1 2 2 2 2 2 >1 <9 1 >1 <1 9 >2 <-1 -1 >2 <-1 -1 >2 <2 2  First line will contain three space separated integers N, S, skip. Next line contains 2*N numbers written on the sheet of paper. after two lines of input, you will give an input of one number and get one output. Like explained in the sample test case. In theird line input is '1' and output is "9 1". The symbols ">" represents input and "<" shows output. They are just notations. You don't need to write those symbols in input and your output is not expected with thse symbols. Hope this helped you. answered 11 Jan '17, 22:13 4★only4 1.5k●2●10 accept rate: 17%
 2 @vijayiota There is NO '<' or '>' in input/output. The signs '>' and '<' are shown in the sample test case just to denote which is input and which is output. If you have a query about a problem in a contest you should comment below the problem in the space provided (and not here), and the problem setter will usually respond with the answer. answered 11 Jan '17, 23:26 6★meooow ♦ 6.4k●5●16 accept rate: 48% 2 @meooow , Sorry for the misunderstanding. I've corrected the answer. (11 Jan '17, 23:52) only44★ @meooow thanks and 2*n size (which is (said in question )to be written on sheet of paper) required to taken as input? or not (11 Jan '17, 23:59)
 0 i write here becoz , i got not answer at problem statement comments please explain the input / output clearly and also why its WA even if all constrains of o/p are satisfied only some have made submisiions to this problem i request please explain input and output of sastrong textmple test case of problem clearly @admin answered 12 Jan '17, 13:25 144●5 accept rate: 3%
 0 i still can not figure out why it is showing WA even if all conditions of centre x,y are meet but correct answer with 0 score , should be shown at worst case when output format is as required. can any one please tell answered 13 Jan '17, 22:40 144●5 accept rate: 3%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×201

question asked: 11 Jan '17, 21:16

question was seen: 1,358 times

last updated: 13 Jan '17, 22:40