×

# CHORCKIT: Is the test data generates as is informed in the problem description?

 1 I was confused about the reason of continuous Wrong Answer verdict, until I submitted this code and get a Runtime Error verdict. Without the assert, the program is getting wrong answer. However in all datasets, the lower bound of X >= the upper bound of R Please check this. asked 11 Feb, 09:08 7★whzzt 19●1 accept rate: 0%

 2 In the generation of the 5th test file, R is generated uniformly randomly in [10^3, 5*10^4]. Sorry for the inconvenience. answered 11 Feb, 10:20 21●1 accept rate: 0% really nice Challenge problem though :-) Great Work !!!:-) (11 Feb, 10:57) Cool ..... (11 Feb, 11:10)
 0 Posting any code on this forum related to an ongoing contest is strictly not allowed.Please refrain from doing that. And , you might have used up some 'x' which has now become less than 'r' itself. :-) I want to clear up more things related to code and other things, but I am not allowed to, according to Codechef Rules of Conduct :-( @vijju may look into this :-) answered 11 Feb, 09:38 -863●9 accept rate: 0% I think this code provides no information so I posted it, is this still violates the rules? If so, I apologize for it, but I don't have any idea else to show the problem, since the contest is nearly ended. (11 Feb, 09:42) whzzt7★ Also I used assert just after the input. (11 Feb, 09:43) whzzt7★ Hey, aryanc403 has cleared your query :-) His comment is :- You forgot to take a as input in the above code. I also got SIGABRT error when I made this assert. (11 Feb, 09:49) 2 I used scanf to read 5 integers, as is described in the problem. *d means you just read and the number won't be sent to you. (11 Feb, 10:07) whzzt7★ Hey @whzzt The contest is extended for two more days. So do not worry. Also, if you have any query, I would request you to post in as comment. The author @deluxurous will reply you there :) Happy Coding. (11 Feb, 12:14) admin ♦♦0★
 -2 You forgot to take a as input in the above code. I also got SIGABRT error when I made $(R<=X)$ assert. My Code answered 11 Feb, 09:39 2.7k●1●6●18 accept rate: 10% I thought no hints/idea(s) are given during an ongoing contest ?! : D (11 Feb, 09:41)
 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:

×205
×189
×7

question was seen: 413 times

last updated: 11 Feb, 12:14