Skip to content

Commit 75fbddd

Browse files
vzskyMasterIceZ
andauthored
commit suggestion
Co-authored-by: Borworntat Dendumrongkul <64594596+MasterIceZ@users.noreply.github.com>
1 parent 4e7dd20 commit 75fbddd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

md/0012.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ int main () {
5555

5656
บรรทัดที่ 3 สังเกตุว่าจะมีแพทเทินคือ `#.O.`, `#.O.`, `*.O.`, `*.O.` วนไปเรื่อย ๆ และจบด้วย `#` หรือ `*` ขึ้นอยู่กับกรณี (ว่าความยาวของอินพุตหารด้วย 3 ลงตัวหรือไม่)
5757

58-
เราใช้ [ternary operator](https://www.geeksforgeeks.org/cpp/cpp-ternary-or-conditional-operator/) ในการเขียนโค้ดให้กระชับขึ้น หรือจะเขียนด้วย `if-else` ก็ได้เช่นกัน
5958

6059
```cpp
6160
#include<bits/stdc++.h>

0 commit comments

Comments
 (0)