CodeSampleX

サンプル

show how omitting the queue comparator changes element priority semantics

sha256:4c5ea45d1953eb6c9bee6f0124f6cac8618d0a6fde9ad4c2d477cdea982b3a36

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
show how omitting the queue comparator changes element priority semantics HOW
パッケージ
collection 1.19.1
環境
dart
作成日
2026-08-17T02:04:34Z

よくある思い込み

A priority queue should return the largest value first when no comparator is supplied.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート