結果
問題 | No.149 碁石の移動 |
ユーザー |
![]() |
提出日時 | 2023-10-23 11:23:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 173 bytes |
コンパイル時間 | 230 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 53,804 KB |
最終ジャッジ日時 | 2024-09-22 10:02:38 |
合計ジャッジ時間 | 1,707 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
aw, ab = map(int, input().split())bw, bb = map(int, input().split())c, d = map(int, input().split())t = c - abif t > 0:aw -= tbw += tprint(aw + min(d, bw))