結果

問題 No.294 SuperFizzBuzz
ユーザー fmhr
提出日時 2015-10-23 23:43:48
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 326 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 82,196 KB
実行使用メモリ 76,152 KB
最終ジャッジ日時 2024-09-13 03:33:17
合計ジャッジ時間 43,270 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other AC * 6 TLE * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from itertools import product
N = int(input())
ans = []
count = 0
for i in range(22):
    for n in product('35', repeat=i+1):
        x = ''.join(n)
        x = int(x)
        if x%15==0:
            count += 1
            # ans.append(x)
            if count==N:
                print(x)
                sys.exit()
0