結果
問題 | No.701 ひとりしりとり |
ユーザー |
![]() |
提出日時 | 2020-12-21 12:14:14 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
OLE
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 17,572 KB |
最終ジャッジ日時 | 2024-09-21 12:52:57 |
合計ジャッジ時間 | 12,577 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | OLE * 1 -- * 11 |
ソースコード
import itertools import string N = int(input()) i = 0 for s in itertools.product(string.ascii_lowercase, repeat=10): print("a" + "".join(s) + "a") i += 1 if i == N - 1: print("a" + "".join(s) + "n") break