結果
問題 |
No.965 門松列が嫌い
|
ユーザー |
![]() |
提出日時 | 2020-01-13 20:31:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 208 bytes |
コンパイル時間 | 318 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-21 16:19:00 |
合計ジャッジ時間 | 1,028 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 WA * 4 |
ソースコード
A, B, C = map(int, input().split()) if not (A != B != C and sorted([A, B, C])[1] in [A, C]): print(0) elif B == max([A, B, C]): print(B - max(A, C)) elif B == min([A, B, C]): print(min(A, C) - B)