run time error

http://ideone.com/FVOOOS why i am getting runtime error

you missed & in scanf("%d\n",t);


oKAY one more thing you missed ‘\n’ in printf("%d",count); too… which will definitely result in WA…

Just Correct those… :slight_smile: