結果

問題 No.842 初詣
ユーザー masato-fullmoon
提出日時 2019-07-28 18:59:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-02 15:04:57
合計ジャッジ時間 1,571 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 9 RE * 3
権限があれば一括ダウンロードができます

ソースコード

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