A — Not
Should be easy as long as you know the basics of your chosen programming language. Can be computed with an if/else statement, the ternary operator (ans = x == 1 ? 0 : 1
), or the xor operator (ans = x ^ 1
)
# | User | Rating |
---|---|---|
1 | tourist | 3856 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3462 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Um_nik | 159 |
5 | atcoder_official | 156 |
6 | djm03178 | 153 |
6 | adamant | 153 |
8 | luogu_official | 149 |
9 | awoo | 147 |
10 | TheScrasse | 146 |
Atcoder Beginner Contest 178 Unofficial Editorial
Should be easy as long as you know the basics of your chosen programming language. Can be computed with an if/else statement, the ternary operator (ans = x == 1 ? 0 : 1
), or the xor operator (ans = x ^ 1
)
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en10 |
![]() |
Spheniscine | 2020-09-16 12:19:09 | 0 | (published) | |
en9 |
![]() |
Spheniscine | 2020-09-16 12:18:56 | 4 | Tiny change: 'A_i = z$ all remai' -> 'A_i = z$ and all remai' (saved to drafts) | |
en8 |
![]() |
Spheniscine | 2020-09-16 12:16:34 | 651 | Tiny change: 't all the $z$ value' -> 't all the remaining $z$ value' (published) | |
en7 |
![]() |
Spheniscine | 2020-09-16 12:05:32 | 862 | ||
en6 |
![]() |
Spheniscine | 2020-09-16 12:00:31 | 2116 | Tiny change: 'ections.\n</spoil' -> 'ections.\n\nThus we have a solution in $O(n)$.\n</spoil' | |
en5 |
![]() |
Spheniscine | 2020-09-16 11:40:48 | 744 | Tiny change: '$dp_i = \Sum_j=0^i-3 ' -> '$dp_i = \Sigm_j=0^i-3 ' | |
en4 |
![]() |
Spheniscine | 2020-09-16 11:28:34 | 37 | Tiny change: 'There are 8^n such sequ' -> 'There are $8^n$ such sequ' | |
en3 |
![]() |
Spheniscine | 2020-09-16 11:25:50 | 1237 | ||
en2 |
![]() |
Spheniscine | 2020-09-16 11:14:54 | 448 | Tiny change: 'bc178_a)\n<spoiler' -> 'bc178_a)\n\n<spoiler' | |
en1 |
![]() |
Spheniscine | 2020-09-16 11:09:23 | 333 | Initial revision (saved to drafts) |
Name |
---|