結果
問題 | No.920 あかあお |
ユーザー |
![]() |
提出日時 | 2020-12-25 20:43:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 471 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-09-22 14:11:49 |
合計ジャッジ時間 | 1,190 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 6 WA * 5 |
ソースコード
first_d = input() first_s = first_d.split(" ") x_int = int(first_s[0]) y_int = int(first_s[1]) z_int = int(first_s[2]) mura_int = x_int - y_int mura_count= 0 if mura_int > 0: mura_count= mura_count+y_int elif mura_int < 0: mura_count= mura_count+x_int if z_int > mura_int: mura_count=int(mura_count+(z_int+mura_int)/2) elif z_int <mura_int: mura_count=mura_count+z_int elif z_int==mura_int: mura_count=mura_count+mura_int print(mura_count)