code here
Segmentation fault on spoj
In your comp function you are not returning any thing in case if condition is fails.
thanks wasted a lot of time regarding this
code here
In your comp function you are not returning any thing in case if condition is fails.
thanks wasted a lot of time regarding this