結果

問題 No.2246 1333-like Number
コンテスト
ユーザー kohakoha11301
提出日時 2023-03-17 22:40:49
言語 PyPy3
(7.3.23 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
RE  
実行時間 -
コード長 249 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 264 ms
コンパイル使用メモリ 95,724 KB
実行使用メモリ 93,440 KB
最終ジャッジ日時 2026-08-30 05:05:34
合計ジャッジ時間 4,118 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n = int(input())
keta = n // 36 + 2
n = n % 36
cnt = 0
for i in range(1, 10):
    for j in range(i + 1, 10):
        if i != j:
            cnt += 1
            if cnt == n:
                ans = (i, j)
print(str(ans[0]) + str(ans[1]) * (keta - 1))
0