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 | 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 | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 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.