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

×

regarding O(t*n) soln of Area51 problem on hackerearth

Guys please explain that how could t*n soln can pass where the constraints of n is <=10^9 and t<=50 and secondly how is it possible to calculate factorial of such a huge number like 10^9. This is practically not possible. Please help! Que Link:- https://www.hackerearth.com/problem/algorithm/area51/ My Soln Link:- https://www.hackerearth.com/submission/14736228/

asked 31 Jan '18, 02:49

kunal12's gravatar image

3★kunal12
445
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:

×1,271
×398

question asked: 31 Jan '18, 02:49

question was seen: 252 times

last updated: 31 Jan '18, 02:49