help me to crack the pattern

Правка en4, от not_working9, 2019-07-20 05:59:32

recently there was a question to make program by solving the sequence-pattern given in input and output... please try to find it ,and help me if you can .... for every two integer input ,an output was given:

input
(1 4)
(2 3)
(4 10)
(7 10)
(8 100)
(200 300 )
(255 275)
output 5 5 12 7 1043 4048 1060

respectively how can input and output be related here, to each other????

edit : i would like to thank about_30_ninjas for his message ,thanks for solving it .

Теги #c++, pattern_matching, #algorithms, #math

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский not_working9 2019-07-20 05:59:32 18 Tiny change: ' to thank ChasmOfSarcasm for his m' -> ' to thank [user:ChasmOfSarcasm] for his m'
en3 Английский not_working9 2019-07-20 05:55:26 90 Tiny change: ' other????' -> ' other????\n\n\nedit : '
en2 Английский not_working9 2019-07-19 19:36:01 168
en1 Английский not_working9 2019-07-19 19:29:03 524 Initial revision (published)