lotus.eater086's blog

By lotus.eater086, history, 2 months ago, In English,

Uva 10059 link

I was trying to solve this problem but couldn't come up with anything except the intersection point of the given lines. I would appreciate any ideas on solving/approaching this problem . Besides, what topics should I learn to solve it ?

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By lotus.eater086, history, 10 months ago, In English,

Problem Link : https://www.spoj.com/problems/PRIMES2/ My Tle Solution : https://pastebin.com/wXtp0wVf In this problem you have to generate primes upto 10^9 . Time limit: 2.281s

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By lotus.eater086, history, 12 months ago, In English,

Link: https://pastebin.com/FRTreAiJ

I come across this type of implementation for fast input of integers in geeksforgeeks.com site . Can this code be improved to input integers faster ? ( getchar_unlocked() doesn't work in Windows . )

Read more »

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it

By lotus.eater086, history, 13 months ago, In English,

What are some efficient ways to divide 'a' by 'b' where the range is :

-10^300 <= a,b <= +10^300

Read more »

 
 
 
 
  • Vote: I like it
  • +10
  • Vote: I do not like it