u can use C/C++ fopen, fscanf, fprintf functions to do so
ex:
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
FILE *fp,*fp1;
fp=fopen("ju1.txt","r");
fp1=fopen("ju12.txt","w");
fscanf(fp,"%d",&i);
fprintf(fp1,"READ INPUT : %d",i);
fclose(fp);
fclose(fp1);
getch();
}
in the above program the *file ju1.txt contains integer 3*, which is used as
input and the output is again written into the file *ju12.txt.*
this way u can achieve it. Hope u find it usefull.
*It works fine i have tried it just now.*
*
*
*regards,*
*junaid
*
On Sat, May 7, 2011 at 12:53 AM, Brijesh Upadhyay <
[email protected]> wrote:
> How to use that downloaded input file, in c/c++ compiler to get output..
> means i have no idea how can i enter that much input in just 3 minutes..
> help please
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-code?hl=en.