結果
| 問題 |
No.410 出会い
|
| コンテスト | |
| ユーザー |
akasatananana
|
| 提出日時 | 2019-09-18 23:02:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| コンパイル時間 | 296 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-17 13:33:38 |
| 合計ジャッジ時間 | 1,797 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | AC * 3 WA * 16 |
ソースコード
a,b=[int(i) for i in input().split()]
c,d=[int(i) for i in input().split()]
if (a<0) and (b<0) and (c<0) and (d<0):
print((a+b+c+d)*-1/2)
elif (a<0) or (c<0):
print(((a+c)*-1+(b+d))/2)
elif (b<0) or (d<0):
print(((b+d)*-1+(a+c))/2)
akasatananana