spakk9's blog

By spakk9, history, 4 years ago, In English

I solved FHC qualification problems , but when i try to submit it , it says i need to generate a output file (validate) . How to do it . I use Geany Text Editor .

  • Vote: I like it
  • -16
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +4 Vote: I do not like it

You need to generate output file (for given validation input) and submit it there. use simple file IO for same.

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

    while submitting my source code ,i removed these lines . Will it cause any error ?

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

      No, it will not cause any error if you don't want to remove lines then can use snippet below

      Snippet
»
4 years ago, # |
  Vote: I like it +5 Vote: I do not like it

You can simply use < (input) and > (output) in command line while running your code. For example for c++ , it would be : ./a.out < input.txt > output.txt