code showing run time error for some cases
Runtime error on some test cases

why k%n
is the input value of k greater than n?
yes read the question stmt
it says k can be greater than
n
1 Like
code showing run time error for some cases

why k%n
is the input value of k greater than n?
yes read the question stmt
it says k can be greater than
n