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

×

why this code worked?

asked 21 Jan, 23:54

ram_24's gravatar image

4★ram_24
1586
accept rate: 35%

edited 21 Jan, 23:56


Because they may not check brute one or time multiplier for java may be another point.

link

answered 22 Jan, 00:00

souradeep1999's gravatar image

6★souradeep1999
955
accept rate: 3%

I get it.But How can they be so careless if that's the case :(

(22 Jan, 00:17) ram_244★
1

I agree with you

(22 Jan, 13:34) souradeep19996★

https://www.codechef.com/viewsolution/22583870 check this out!! this is brute force too and worked and it is C++, so there test case were weak.

link

answered 22 Jan, 09:43

jaizzz's gravatar image

4★jaizzz
111
accept rate: 0%

Nice, he even did not take random r :) So weak tests) I've wondered why there were so many AC during contest. I suspected that it is for weak tests.

link

answered 23 Jan, 17:11

batura_dima's gravatar image

5★batura_dima
1264
accept rate: 5%

The problem was a standard FFT, that might have had been the reason for so many AC's .. though I could not solve it ;)

(23 Jan, 17:39) aman_robotics6★
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:

×161
×3

question asked: 21 Jan, 23:54

question was seen: 228 times

last updated: 23 Jan, 17:39