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

×

July Challenge

in the second Problem I submitted my code and it gave that I had WA in all test cases and I tried all possible cases my code worked in all of them Is someone facing the same problem or there is a problem with my code ?

asked 07 Jul '17, 21:22

showstopper728's gravatar image

3★showstopper728
1
accept rate: 0%

closed 07 Jul '17, 21:36

vijju123's gravatar image

5★vijju123 ♦♦
15.5k12066


For such queries, keep an eye on "All submission" and sort it according to language and verdict. If you see something fishy, post it under comments and mail it to them as well.

link

answered 07 Jul '17, 21:35

vijju123's gravatar image

5★vijju123 ♦♦
15.5k12066
accept rate: 18%

I filtered the codes and There is Two accepted codes using C# I also have an AC code in the first problem so I will check my code again

(07 Jul '17, 21:41) showstopper7283★

There are many accepted solutions till now.I am pretty sure that there is some mistake in your code.Please refrain to post questions like this.

link

answered 07 Jul '17, 21:28

hruday968's gravatar image

4★hruday968
1.7k210
accept rate: 14%

edited 07 Jul '17, 21:29

may be you are printing any string to take input e.g. "enter a number" etc

link

answered 07 Jul '17, 21:31

ashu5398's gravatar image

1★ashu5398
1
accept rate: 0%

no no I didn't do that and I had the same output of the example and I tried a lot of possible test cases and it worked . I asked this questions because I had WA at all test cases it is weird for me because I am sure that my code solve the problem

(07 Jul '17, 21:34) showstopper7283★

I didn't mean anything . I am just asking because I am using C# so I thought there was a problem or something

link

answered 07 Jul '17, 21:31

showstopper728's gravatar image

3★showstopper728
1
accept rate: 0%

no there is not.The question is absolutely fine. U r getting wrong somewhere. Passing all possible testcases coming up to your mind doesn't mean u r correct. Try redoing with different approach.

(07 Jul '17, 22:57) soham12346★
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:

×858
×29

question asked: 07 Jul '17, 21:22

question was seen: 644 times

last updated: 07 Jul '17, 22:57