結果
| 問題 | No.637 X: Yet Another FizzBuzz Problem |
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2018-07-03 20:20:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 362 bytes |
| 記録 | |
| コンパイル時間 | 118 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-01 02:00:27 |
| 合計ジャッジ時間 | 2,039 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 7 WA * 23 |
ソースコード
line=input()
line=line.rstrip().split(" ")
list1=[]
for i in range(5):
list1.append(int(line[i]))
#print(list1)
count=0
for i in range(5):
if list1[i]%15==0:
count+=8
elif list1[i]&5==0 or i%3==0:
count+=4
elif list1[i]<=9:
count+=1
elif list1[i]<=99:
count+=2
else:
count+=3
print(count)
syunsuke