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

×

Help in Codeforces Perfect Security Round470

I'm getting runtime error (segmenation fault for n>250 on local compiler). I have used naive implementation of trie to solve the question. What's wrong in my approach? Is this error due to consuming too much memory?

Code Link

asked 21 Mar '18, 00:34

dushyant7917's gravatar image

5★dushyant7917
716
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:

×672
×531
×186
×20
×1

question asked: 21 Mar '18, 00:34

question was seen: 191 times

last updated: 21 Mar '18, 00:34