i’m getting run time error … any one please tell me what is the mistake.
http://www.codechef.com/viewsolution/1319152
try to add return 0
at the end of your main()
tried, but still not working
I hate this. It’s not your fault, it’s written in statement “The first line contains t, the number of test cases (about 10).”, replace your a[10] with a[100] and you will get AC
thanx its working