alternative to getche()

i want to use getche() ,but i m not able to. because it’s #included in conio.h which is not allowed in code chef… so what should i do.
actually i want to scan 234568790098765430987654 digit by digit …

u can use getchar() or getchar_unlocked()…using the header file cstdio(stdio.h for c)!!!

or better yet use %c instead of %d, i know your asking about ADIGIT haha