符号あり・なし
「符号あり・なし」を扱った20問。日付を開くと、その日のドリルがそのまま読めます。日付の横の動物は難易度で、ハリネズミ・孔雀・バイソン・クジラの順に重くなります。
- C++ / DEBUG · 2026-11-17 右に曲がらない外積 外積, 3点の向き, 符号なし整数, 符号なしの引き算, 左右の判定, cross product, orientation test, unsigned arithmetic, wraparound
- C / WRITE · 2026-11-17 いちばん多いバイト 出現回数, 度数表, バイトの頻度, unsigned char への変換, char の符号, byte frequency, histogram, signedness of char
- C / DEBUG · 2026-11-14 条件演算子1つに型は1つ _Generic, 条件演算子の型, 通常の算術変換, 符号なし整数への変換, generic selection, conditional operator, usual arithmetic conversions
- Rust / DEBUG · 2026-11-11 usizeの差を外積に使う 外積, usize, 符号なし整数の引き算, オーバーフロー, as による変換, unsigned subtraction overflow, cross product, panic
- C / DEBUG · 2026-11-08 空の記録と n - 1 size_t, 符号なし整数の引き算, 空の配列, ループ条件, 範囲外アクセス, unsigned wraparound, n - 1, empty array, out of bounds
- C / WRITE · 2026-11-04 中を見ずに表を合成する 関数ポインタの配列, ディスパッチ表, 1次関数の合成, unsignedの桁あふれ, function pointer table, affine function composition, unsigned wraparound
- Rust / DEBUG · 2026-11-01 斜めの差で落ちる Nクイーン, 枝刈り, usize, 引き算のオーバーフロー, abs_diff, attempt to subtract with overflow, N-queens
- C / READ · 2026-10-19 展開量の上限検査 展開量の上限, zip爆弾, 符号なし整数の回り込み, size_t の引き算, unsigned wraparound, decompression bomb, zip bomb
- C / READ · 2026-10-05 共用体越しの右シフト 共用体, 型の読み替え, 符号なし右シフト, 2の補数, union type punning, logical shift right
- C / DEBUG · 2026-10-04 負のintの1を数える 符号付き整数のオーバーフロー, INT_MIN - 1, 2の補数, ビットの数え上げ, signed integer overflow, popcount of negative int
- C / WRITE · 2026-10-03 先頭n文字のバイト数 UTF-8の切り詰め, 継続バイト, 文字境界, UTF-8 truncation, continuation byte, code point boundary
- C++ / READ · 2026-09-29 減っていく符号なし添字 符号なし整数の回り込み, 逆順ループ, size_t, ループの終了条件, unsigned wraparound, reverse loop, loop condition
- C++ / READ · 2026-09-25 符号なしは一周する 符号なし整数のラップアラウンド, 剰余算術, uint8_t, unsigned wraparound, modular arithmetic
- Rust / DEBUG · 2026-09-21 符号なしの>=0 符号なし整数, 常に真, 比較, unsigned comparison
- C / WRITE · 2026-09-14 符号なしcharの全域 符号なし, ラップアラウンド, 無限ループ, unsigned char
- Haskell / DEBUG · 2026-09-05 ジグザグ符号化の右シフト ジグザグ符号化, 算術右シフト, 論理右シフト, 符号拡張, Data.Bits, zigzag encoding, arithmetic shift, sign extension
- C / WRITE · 2026-09-02 左に曲がる頂点を数える 外積, 折れ線, 左折の判定, 符号なしの引き算, cross product, polyline, size_t underflow
- C / DEBUG · 2026-09-02 符号なし座標の外積 符号なし整数の引き算, 回り込み, 外積, 3点の向き, unsigned wraparound, cross product, orientation
- C++ / DEBUG · 2026-08-31 環の左隣が先頭になる 符号なしへの変換, size_t, 環状バッファの添字, 剰余と負の数, signed unsigned conversion, usual arithmetic conversions, ring buffer index
- C / READ · 2026-08-21 符号つきと符号なしの比較 符号あり, 符号なし, 暗黙の型変換, signed unsigned comparison