結果

問題 No.311 z in FizzBuzzString
ユーザー Kaito KoikeKaito Koike
提出日時 2018-03-31 11:27:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 11,808 KB
実行使用メモリ 10,576 KB
最終ジャッジ日時 2023-10-25 02:54:19
合計ジャッジ時間 1,109 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,576 KB
testcase_01 WA -
testcase_02 AC 31 ms
10,576 KB
testcase_03 WA -
testcase_04 AC 31 ms
10,576 KB
testcase_05 WA -
testcase_06 AC 31 ms
10,576 KB
testcase_07 AC 31 ms
10,576 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 31 ms
10,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *

n = int(input())
z_counter=0
a = Decimal(n) / Decimal(3)
b = Decimal(n) / Decimal(5)
c = Decimal(n) / Decimal(15)

z_counter = a*2 + b*2
print(int(z_counter))
0