結果
| 問題 | No.149 碁石の移動 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-08 23:17:12 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 23 ms / 2,000 ms |
| + 655µs | |
| コード長 | 163 bytes |
| 記録 | |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 80,564 KB |
| 実行使用メモリ | 55,396 KB |
| 最終ジャッジ日時 | 2026-10-11 00:44:54 |
| 合計ジャッジ時間 | 1,919 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
aw, ab = map(int, input().split())
bw, bb = map(int, input().split())
c, d = map(int, input().split())
if c > ab:
d -= c - ab
if d > bw:
d = bw
print(d+aw)