Is it considered A cheating if I use another person's implemention for a data structure instead of designing one by myself?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 156 |
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.