how to take input.txt and output.txt in codeforces code example
Example: how to take input.txt and output.txt in codeforces
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);