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 ?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 165 |
2 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
4 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
8 | Dominater069 | 154 |
8 | nor | 154 |
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 ?
Название |
---|
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.