UBERMENSCH.'s blog

By UBERMENSCH., history, 5 years 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 ?

Full text and comments »

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

By UBERMENSCH., history, 6 years 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

Full text and comments »

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

By UBERMENSCH., history, 6 years 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 . )

Full text and comments »

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

By UBERMENSCH., history, 6 years ago, In English

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

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

Full text and comments »

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