Vectorrr's blog

By Vectorrr, history, 11 years ago, In English

After Mikes post about list something changed in my pc so that i cannot review my or any other persons submissions on my laptop computer.However i can view submitions in my other computer.Does someone know what could be the problem?

Full text and comments »

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

By Vectorrr, history, 11 years ago, In English

Hello everyone, I was trying to solve this problem but i couldnt handle it, could someone please help me? Given n 1 <= n <= 10^9 we have to find if there is a number which sum of divisors (including that number as a divisor) is equal to n and print it otherwise we have to print -1.

For example Input : 7; Output : 4, Since 7 = 4 + 2 + 1 Input : 1767 Output : 1225 Since 1767 = 1 + 5 + 7 + 25 + 35 + 49 + 175 + 245 + 1225

Full text and comments »

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