結果
問題 |
No.637 X: Yet Another FizzBuzz Problem
|
ユーザー |
![]() |
提出日時 | 2018-07-03 20:22:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 387 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-01 02:00:37 |
合計ジャッジ時間 | 2,323 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 12 WA * 18 |
ソースコード
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 list1[i]%3==0: count+=4 elif list1[i]<=9: count+=1 elif list1[i]<=99: count+=2 else: count+=3 #print(count) print(count)