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

×

Getting wa even after using same approach as editorial

https://www.codechef.com/JUNE18B/problems/SHKSTR/ https://ideone.com/eFFVqJ Here I am using unordered_map in trie to reduce unnecessary space but I have tried it directly also still getting wa. I am adding string no. to vector of strings at that position only if string having greater index than the last element in vector is lexicographically smaller than it

asked 15 Jun, 12:34

rogue_one1's gravatar image

2★rogue_one1
52
accept rate: 0%

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:

×185
×15

question asked: 15 Jun, 12:34

question was seen: 54 times

last updated: 15 Jun, 12:34