アサーション
「アサーション」を扱った5問。日付を開くと、その日のドリルがそのまま読めます。日付の横の動物は難易度で、ハリネズミ・孔雀・バイソン・クジラの順に重くなります。
- C / DEBUG · 2026-10-10 引き出す前の残高 事後条件, 変更前の値, ポインタの別名, 構造体のコピー, postcondition, old value, aliasing, assert
- C / WRITE · 2026-09-06 assertの外で読む assert の中の副作用, NDEBUG, リリースビルド, sscanf の戻り値, assert with side effects, release build, NDEBUG
- C / READ · 2026-09-06 後から定義したNDEBUG assert, NDEBUG, 副作用のある assert, assert.h の取り込み位置, 短絡評価, assert with side effects, NDEBUG after include, short-circuit evaluation
- C / DEBUG · 2026-09-06 assertで消えた--n assert の中の副作用, NDEBUG, リリースビルドだけのバグ, 改行の除去, assert with side effects, release build only bug, trim newline
- Zig / DEBUG · 2026-08-26 起きないはずのエラー catch unreachable, catch continue, エラー共用体, illegal behavior, error union, parseInt