1 line soln for Today Div 2 C

Правка en3, от Swayam78, 2024-09-29 22:48:24

Here , u just have to take a = c^d ,Then check if it do satisy the condition or not , if it doesn't then cout -1 , else cout a. I would appreciate if you can add proof for same.

283646208

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский Swayam78 2024-09-30 10:39:15 625
en3 Английский Swayam78 2024-09-29 22:48:24 16
en2 Английский Swayam78 2024-09-29 22:45:52 30 Tiny change: ' for same.' -> ' for same.\n\n\n\n[submission:283646208]'
en1 Английский Swayam78 2024-09-29 22:36:28 200 Initial revision (published)