Can someone provide me a link or some type of tutorial how am i supossed to write it ? I tells us that we need to write the answers in : int 64 somefunction(int64 [] K) : but how i can test if it's correct or not ?
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 151 |
Can someone provide me a link or some type of tutorial how am i supossed to write it ? I tells us that we need to write the answers in : int 64 somefunction(int64 [] K) : but how i can test if it's correct or not ?
Name |
---|
Without knowing where you're trying to submit, it's very hard to provide specific advice. But based on my experience submitting in oj.uz, tasks which require you to implement a function should provide a zip file with a tester program written for you.
OK, im trying only to test it, how to do it ?
Copying from my above comment: tasks which require you to implement a function should provide a zip file with a tester program written for you.
Are you viewing the statements through an online judge, or do you have just the PDF of the statements?
I had downloaded a "zip" from IOI website (Sorry for responding late — "You can write no more than 1 comment in 10 minutes" ) If i can't test in the full test locally then is there any online judge ? ( I will write evertying cuz of 10 min break). When i want to check it i need to use a grader ? if yes then how ?
If you want to make sure your solution is fully correct, then yes you'll need an online judge. The only one I've ever used is oj.uz. It's a little hard for me to find things on there but it should have most if not all of the recent IOI problems. And you'll need to make sure to switch the language settings from Korean to English.
If you can't find your IOI problem on there, let me know and I'll see if I can find it.
IOI 2019 shoes
https://oj.uz/problem/view/IOI19_shoes
Also, Leonardo16's comment with the OI Checklist makes a good point. You should be able to find links for problems on there as well.
How i need to submit it ? With standard output and input or what statement says
Submit in the format that the problem statement says.
After downloading the zip file you must add the greader, the "name".cpp and "name".h in your project. Then you write your solution in "name".cpp . Now you can test as it says in the statement
If you want to check if the solution is correct go to this link, there you will find other links to the problem you are looking for.