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

×

[HELP]HashTable spoj Hashit, help with the code.

Hi, I am practicing questions on hash table. I solved this question of spoj http://www.spoj.com/problems/HASHIT/ and here is my code http://ideone.com/iGsnkq

Whats wrong with this code. Its a hash table question and I think if it gives right answer for test case and my own test cases then why a "WA" ?

Any help is appreciated. thanks.

asked 09 Mar '15, 21:37

amitt001's gravatar image

2★amitt001
1.1k21430
accept rate: 6%

edited 09 Mar '15, 23:01

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:

×1,901
×1,650
×1,114
×67

question asked: 09 Mar '15, 21:37

question was seen: 2,598 times

last updated: 09 Mar '15, 23:01