ay2306's blog

By ay2306, history, 6 years ago, In English

I don't know if this is a bug in codeforces or something I am doing. Tell me if it is something I am wrong somewhere

Problem: Boys and Girls

Bug: Link

SOLVED

Tags bug
  • Vote: I like it
  • +3
  • Vote: I do not like it

»
6 years ago, # |
  Vote: I like it +19 Vote: I do not like it

input: input.txt
output: output.txt

you need to use freopen:

freopen("input.txt","r",stdin);    
freopen("output.txt","w",stdout);

Good luck :)

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by ay2306 (previous revision, new revision, compare).