結果

問題 No.842 初詣
ユーザー masato-fullmoonmasato-fullmoon
提出日時 2019-07-28 18:59:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 74 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 7,980 KB
最終ジャッジ日時 2023-09-15 11:34:01
合計ジャッジ時間 1,275 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,820 KB
testcase_01 AC 16 ms
7,876 KB
testcase_02 AC 15 ms
7,796 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 15 ms
7,788 KB
testcase_07 RE -
testcase_08 AC 15 ms
7,868 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 15 ms
7,776 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 15 ms
7,924 KB
testcase_15 RE -
testcase_16 AC 15 ms
7,872 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 RE -
testcase_20 AC 17 ms
7,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C,D,E,F,G = map(int,input().split())
assert 0<=A<=10
assert 0<=B<=10
assert 0<=C<=10
assert 0<=D<=10
assert 0<=E<=10
assert 0<=F<=10
assert 1<=F<=5000

sums = 500*A+100*B+50*C+10*D+5*E+F
if sums == G:
    print('YES')
else:
    print('NO')
0