結果
| 問題 |
No.2038 Strange Arrange
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:57:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 119 bytes |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 82,216 KB |
| 実行使用メモリ | 53,188 KB |
| 最終ジャッジ日時 | 2025-03-20 18:58:27 |
| 合計ジャッジ時間 | 1,740 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 |
ソースコード
n = int(input()) base = "123" repeat = n // 3 remainder = n % 3 result = base * repeat + base[:remainder] print(result)
lam6er