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


Giving WA(-1.0000)

I have submitted my code in java for the question INTXOR in december challenge. It is giving me AC for some tasks and WA(-1.0000) for others. If i submit the same code again, it is giving me different results. And also if submit the same code in C++, it is giving me correct answer.

Then why is it giving me different results in java?

asked 16 Dec '18, 17:33

hemant84's gravatar image

accept rate: 0%

It is also possible that you are violating some conditions in your program and hence receiving -1 as Input by the grader. Hence you are getting WA(-1.000) for some tasks. Try terminating your program on receiving -1.


answered 16 Dec '18, 21:41

akash19jain's gravatar image

accept rate: 10%

I did that too. But the result was same.

(17 Dec '18, 00:02) hemant843★

I guess you are taking an extra input. I came across the same error in DEC18 problem.You might be taking input where it actually doesnt require you to ask for a input


answered 17 Dec '18, 18:03

hst005's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 16 Dec '18, 17:33

question was seen: 263 times

last updated: 17 Dec '18, 18:03