結果
| 問題 | No.2198 Concon Substrings (COuNt-CONstruct Version) |
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2023-01-20 22:45:32 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 1,110 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 54,872 KB |
| 最終ジャッジ日時 | 2026-03-08 04:27:50 |
| 合計ジャッジ時間 | 29,181 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 44 WA * 60 |
ソースコード
m = int(input())
x = [i*(i+1)//2 for i in range(1,int(m**0.5)+2)]
ans = []
while x:
ans.append("c"*(m//x[-1]))
ans.append("on")
m %= x.pop()
print("".join(ans))
ニックネーム