Is it considered A cheating if I use another person's implemention for a data structure instead of designing one by myself?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3831 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | gamegame | 3386 |
10 | ksun48 | 3373 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
Is it considered A cheating if I use another person's implemention for a data structure instead of designing one by myself?
Название |
---|
It depends on platform rules but usually you can use prewritten code if it is either written by you or was published on the internet with appropriate license (which allows you to use it) before the start of the contest. Obviously, you can't ask someone to implement a data structure for you during the contest.
.
Jon Louis Bentley : Yes
That's not segment tree lol, wikipedia has wrong data structure under its definition
You'd be amazed at how often something like segment tree was actually discovered independently by newbie contestants :) .
Been there, done that.
Granted my implementation was very rudimentary and based primarily on guesswork, but yeah I did kinda discovered before I read up on it a few days later.
Yeah, fun times.
Mine was using 2x less memory, like Fenwick, but the code was longer than segtree and Fenwick combined.
oof.
What about using someone else's library ? , it counts as open-source and prewritten
It's fine. Lots of people copy from KACTL for example.