結果
問題 |
No.208 王将
|
ユーザー |
![]() |
提出日時 | 2025-02-14 17:14:38 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 153 bytes |
コンパイル時間 | 4,616 ms |
コンパイル使用メモリ | 64,672 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-14 17:15:40 |
合計ジャッジ時間 | 5,829 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
import strscans let (_, x, y, x2, y2) = stdin.readAll.scanTuple "$i $i$s$i $i" var d = max(x, y) if x == y and x2 == y2 and x > x2: inc d echo d