Showing compiling error

you just need to take input the no of disks

see this: