Skip to content

Commit

Permalink
Merge pull request #59 from komasandesu/update-2024-10-04
Browse files Browse the repository at this point in the history
修正
  • Loading branch information
komasandesu authored Oct 4, 2024
2 parents 08e71f2 + c5112a5 commit ce281c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion posts/competitive_programming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ tags: ['競プロ','C++']
- 使い方よくわかってない
- 多倍長整数
- Pythonでやった方がいい
- 切り捨て除算を```A / B - (A % B < 0)```でやる
- 切り捨て除算を

```cpp
A / B - (A % B < 0)
```

でやる
- 負の数での除算がC++は微妙なので…
- 進数変換
- RLE(ランレングス圧縮)

0 comments on commit ce281c1

Please sign in to comment.