結果

問題 No.172 UFOを捕まえろ
ユーザー rocoderrocoder
提出日時 2017-05-07 02:27:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 7,992 KB
最終ジャッジ日時 2023-10-12 15:18:59
合計ジャッジ時間 1,429 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,908 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 15 ms
7,812 KB
testcase_04 WA -
testcase_05 AC 15 ms
7,808 KB
testcase_06 AC 14 ms
7,796 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,804 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 15 ms
7,804 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 15 ms
7,852 KB
testcase_19 AC 15 ms
7,800 KB
testcase_20 WA -
testcase_21 AC 15 ms
7,848 KB
testcase_22 WA -
testcase_23 AC 15 ms
7,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x=[int(i) for i in input().split()]
m=0
for i in range(2):
    if x[i]<0:
        x[i]=-1*x[i]
    m+=x[i]
r=x[2]
r*=10
r=r//7
#if r==1:
 #   r=2
m+=r
print(m)
0