Hello here, i’ m new at SPOJ and i would like to know how can we manage input for problems ? is it with cin or putting Example input in a file ?
i would like an example please
thank you
created
last reply
- 1
reply
- 674
views
- 2
users
- 2
links
Hello here, i’ m new at SPOJ and i would like to know how can we manage input for problems ? is it with cin or putting Example input in a file ?
i would like an example please
thank you
Navigate to ideone.com23. Select New Code, choose the language you want to see an example for (by using the button towards the bottom left), then select the sample link above the edit window. This will insert an example solution to Test14.
If C++ is your thing, you can see different samples by choosing different flavours of C++. The couple I looked at used cin and cout, but you can use other I/O methods that read from stdin and write to stdout.
You can find further examples by browsing this forum and looking at the posted code.