結果
| 問題 | No.637 X: Yet Another FizzBuzz Problem |
| コンテスト | |
| ユーザー |
syunsuke
|
| 提出日時 | 2018-07-03 20:28:56 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 94 ms / 1,000 ms |
| コード長 | 398 bytes |
| 記録 | |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 20,600 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-03-21 18:05:41 |
| 合計ジャッジ時間 | 4,177 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 30 |
ソースコード
line=input()
line=line.rstrip().split(" ")
list1=[]
for i in range(5):
list1.append(int(line[i]))
#print(list1)
count=0
i=0
for i in range(5):
if list1[i]%15==0:
count+=8
elif list1[i]%5==0:
count+=4
elif list1[i]%3==0:
count+=4
elif list1[i]<=9:
count+=1
elif list1[i]<=99:
count+=2
else:
count+=3
print(count)
syunsuke