結果
| 問題 |
No.2246 1333-like Number
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-21 13:24:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 266 ms / 2,000 ms |
| コード長 | 339 bytes |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-18 14:19:57 |
| 合計ジャッジ時間 | 4,741 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
import itertools
def g():
for d in itertools.count(1):
for a in range(1, 10):
for b in range(a+1, 10):
yield (a, b, d)
def main():
N = int(input())
x = g()
for i in range(N-1):
next(x)
a, b, d = next(x)
print(str(a)+str(b)*d)
if __name__ == '__main__':
main()