"I want to ask a question" - Ask them all here!

WA = your output did not match with expected output, hence Wrong Answer (WA). The judge checks for exact match.

I’m getting the right answer when executing it on the IDLE. But it still gives me WA on my answer submission

It means there exists some input for which your output is wrong. Code is tested not only on sample input, but additional inputs as well.

Thanks for the help @vijju123. It helped a lot.

Your question is upgraded to an independent question, here - Please help me in LCH15JAB (Beginner level) - help - CodeChef Discuss

Its against the rules. People may report you instead.

Comment section is the place for it. If they dont respond, then take that as a no. Put your case formally, make sure you emphasize the point where you are facing issue. Hope that helps :slight_smile:

also how to increase this reputation thing i am unable to ask questions.?

You dont have to check for constraints. Constraints means that, the question setter is telling you “The values in input of these variables range from this to that.”

Computer dont have infinite memory and execution speed, so they check your code over some moderate-large inputs- and must specify the size of it so you can make a program to efficiently handle it :slight_smile:

@vijju123 then why my above submission is failing to satisfy the given sub-task2 even if my piece of code is not computing anything for large inputs.
will any plz.look at my submission once.

Its getting tle, meaning your approach is slow and is not giving output in required time.

I think there was something wrong with this question. Just checking for presence of characters gave me an AC when I attempted.

like atleast theres no logic error in my code right?

15 November

1 Like

I dont think so. Try comparing with other AC codes.

You can ask . The questions, however, must not be from any live contest. Tahts the only restriction. Else whether they are at spoj, hackerrank, hackerearth, codeforces, etc. you can ask.

2 Likes

You just need 3 karma to ask questions. This is done because people tend to spam, and ask repetitive questions. It was seen that removing the limit degraded quality of forums, hence the limit was put back and users with <3 karma were asked to ask via this thread.

1 Like

Java codes are slower compared to c++. That is why there is usually 2x Time limit for Java as c++. If you can switch to c++, you may do so. I recommend it, but it’s not necessary

Yes. The trick is called “practice”. Anyway in the beginner section, click on Successful Submissions on the top near Accuracy, code etc. You will get a sorted list based on highest number of submissions. You should find them easier. Just get going! Good luck.

1 Like

Try easy section of hackerrank- lots of spoonfeeding there. I started from there because that spoon feeding helped me grow till I could do things on my own. No shame admitting, I couldnt even take input correctly then XD