Hi all,
How to detect odd circle?
Edit:I find how to do it now:D downvote me if you are too stupid to solve this.
# | User | Rating |
---|---|---|
1 | jiangly | 4039 |
2 | tourist | 3841 |
3 | jqdai0815 | 3682 |
4 | ksun48 | 3590 |
5 | ecnerwala | 3542 |
6 | Benq | 3535 |
7 | orzdevinwang | 3526 |
8 | gamegame | 3477 |
9 | heuristica | 3357 |
10 | Radewoosh | 3355 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 159 |
3 | Qingyu | 159 |
5 | atcoder_official | 157 |
6 | Um_nik | 154 |
7 | adamant | 151 |
7 | djm03178 | 151 |
7 | luogu_official | 151 |
10 | awoo | 146 |
Hi all,
How to detect odd circle?
Edit:I find how to do it now:D downvote me if you are too stupid to solve this.
Name |
---|
why so cool??
Do you mean odd cycle in graph? If it exists, simple dfs will find it anyway. It's harder with even cycle.