結果

問題 No.91 赤、緑、青の石
ユーザー matrie
提出日時 2021-02-09 09:26:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-06 14:42:45
合計ジャッジ時間 1,891 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 21 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

L=sorted(map(int,input().split()))

c=L[0]
L=[i-c for i in L]

m=(L[2]-L[1])//2
L=[m,L[1],L[2]-m*2]

c+=L[0]
L=[i-m for i in L]

m=L[1]//2
L=[m,L[1]-m,L[2]-m]

c+=L[0]
L=[i-m for i in L]
print(c)
0