Samkit5025

Untitled

Jun 10th, 2022
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. #Testcases for Finding number of operation.
  2.  
  3. ___________________________________________________________________________________________________________________________
  4. // Testcase : 1
  5.  
  6. //Input :
  7. 12
  8.  
  9.  
  10. //Output :
  11. 6
  12.  
  13. ___________________________________________________________________________________________________________________________
  14. // Testcase : 2
  15.  
  16. //Input :
  17. 4
  18.  
  19. //Output :
  20. 2
  21.  
  22. ___________________________________________________________________________________________________________________________
  23. // Testcase : 3
  24.  
  25. //Input :
  26. 91666
  27.  
  28. //Output :
  29. 45833
  30.  
  31.  
  32. ___________________________________________________________________________________________________________________________
  33. // Testcase : 4
  34.  
  35. //Input :
  36. 63062
  37.  
  38.  
  39. //Output :
  40. 31531
  41.  
  42. ___________________________________________________________________________________________________________________________
  43. // Testcase : 5
  44.  
  45. //Input :
  46. 1175
  47.  
  48.  
  49. //Output :
  50. 586
  51.  
  52. __________________________________________________________________________________________________________________________
  53. // Testcase : 6
  54.  
  55. //Input :
  56. 35898
  57.  
  58.  
  59. //Output :
  60. 17949
  61.  
  62. ___________________________________________________________________________________________________________________________
  63. // Testcase : 7
  64.  
  65. //Input :
  66. 8296
  67.  
  68.  
  69. //Output :
  70. 4148
  71.  
  72. ___________________________________________________________________________________________________________________________
  73. // Testcase : 8
  74.  
  75. //Input :
  76. 5525
  77.  
  78.  
  79. //Output :
  80. 2761
  81.  
  82. ___________________________________________________________________________________________________________________________
  83. // Testcase : 9
  84.  
  85. //Input :
  86. 7138
  87.  
  88. //Output :
  89. 3569
  90.  
  91. ___________________________________________________________________________________________________________________________
  92. // Testcase : 10
  93.  
  94. //Input :
  95. 578
  96.  
  97. //Output :
  98. 289
  99.  
  100. ___________________________________________________________________________________________________________________________
  101. // Testcase : 11
  102.  
  103. //Input :
  104. 33
  105.  
  106. //Output
  107. 16
  108.  
  109. __________________________________________________________________________________________________________________________
  110. // Testcase : 12
  111.  
  112. //Input :
  113. 169
  114.  
  115. //Output :
  116. 79
  117. ___________________________________________________________________________________________________________________________
Advertisement
Add Comment
Please, Sign In to add comment