結果

問題 No.316 もっと刺激的なFizzBuzzをください
ユーザー kawanishi9726kawanishi9726
提出日時 2019-04-09 01:37:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 149 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,604 KB
実行使用メモリ 815,220 KB
最終ジャッジ日時 2023-09-14 15:47:47
合計ジャッジ時間 7,153 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 286 ms
160,904 KB
testcase_02 RE -
testcase_03 AC 16 ms
7,824 KB
testcase_04 RE -
testcase_05 TLE -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 16 ms
7,816 KB
testcase_09 RE -
testcase_10 WA -
testcase_11 AC 16 ms
8,284 KB
testcase_12 AC 18 ms
9,272 KB
testcase_13 AC 17 ms
8,988 KB
testcase_14 AC 16 ms
9,052 KB
testcase_15 AC 16 ms
9,012 KB
testcase_16 AC 50 ms
31,088 KB
testcase_17 AC 18 ms
9,200 KB
testcase_18 AC 22 ms
11,988 KB
testcase_19 AC 37 ms
20,156 KB
testcase_20 WA -
testcase_21 AC 47 ms
27,752 KB
testcase_22 AC 17 ms
9,076 KB
testcase_23 AC 21 ms
11,940 KB
testcase_24 AC 18 ms
9,320 KB
testcase_25 AC 75 ms
46,548 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 18 ms
9,228 KB
testcase_29 AC 22 ms
12,180 KB
testcase_30 AC 146 ms
84,352 KB
testcase_31 AC 70 ms
34,276 KB
testcase_32 MLE -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a,b,c = map(int,input().split())

ans = list(range(a,n,a))
ans += list(range(b,n,b))
ans += list(range(c,n,c))

print(len(set(ans)))
0