getting segmentation fault
Tower of hanoi geeting error
for that I have to replace C and B in line 19
i.e. change toh(n,βAβ,βBβ,βCβ) to toh(n,βAβ,βCβ,βBβ) in main() function
Check your output for sample one itβs not exactly same
Check if you can correct it otherwise I will correct and send
Also sorry for the late reply missed the notification
not able to find out my mistake β¦
although it run perfect on other compiler
@aattuull
try closing and opening again
also submit here and check
https://hack.codingblocks.com/app/contests/1161/1080/problem
(also submit it , i think you are just running it without providing input)
1 Like
yup now its accpeting after providing custom input
