A problem related to sum of cube of the digits

Правка en1, от Death_Scythe, 2015-07-13 22:16:06

Hello all! I found this problem on CodeChef: http://www.codechef.com/problems/PRYS09

I honestly don't know where to start. The brute force approach obviously won't work. Also, there are no solutions and editorials available probably because this is an old contest problem and remained unnoticed by the users. Please help!

Thanks!

Теги number theory, codechef, divisibility, summation

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Death_Scythe 2015-07-13 22:16:06 381 Initial revision (published)