Getting WA ?

Правка en3, от ubercool, 2018-11-10 16:32:50

I was solving tourists problem on kattis and keep on getting WA ,I can't understand what I am doing wrong.Here is a link to my code.The problem is asking for the sum of all paths between such vertex pair (x,y) where y>x and y%x is zero.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский ubercool 2018-11-10 16:32:50 10 Tiny change: 'ing wrong.Pls help! Here is a ' -> 'ing wrong.Here is a '
en2 Английский ubercool 2018-11-10 11:45:00 105
en1 Английский ubercool 2018-11-10 08:03:41 241 Initial revision (published)