ACM contest

can i use :
and start taking input from stdin in the ACM ICPC contests ?

U can do that while u are testing. But while u are submitting, u’ve to read input as scanf from the user.

hows that !? i already participated in a local ACM contest and we used C++ file reading
ifstream inp(“”);
int tc;
inp>>tc …
and submit ! and we got AC on several problems