royal1shashanks's blog

By royal1shashanks, history, 6 years ago, In English

I've tried online compiler but they are taking input upto 64kb.Also in local compiler Devc++ the input is not well taken... Help me out??

| Write comment?
»
6 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Use File IO in your code and can try any editor or you can use just terminal to do so.

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

    so you are saying I have to include

    ifndef ONLINE_JUDGE

    freopen("fliename.in", "r" , stdin); freopen("filename.out", "w", stdout);

    endif

    in my code but I don't know how to use them

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

      you can use this snippet, and just make input.txt and output.txt file in your code directory and give input in that input.txt file