結果
問題 | No.2038 Strange Arrange |
ユーザー |
![]() |
提出日時 | 2022-08-12 22:17:32 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 152 bytes |
コンパイル時間 | 292 ms |
コンパイル使用メモリ | 82,436 KB |
実行使用メモリ | 52,924 KB |
最終ジャッジ日時 | 2024-09-24 18:16:56 |
合計ジャッジ時間 | 791 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 |
ソースコード
N = int(input())ans = [1] * Nfor i in range(N):x = i + 1while x % 2 == 0:x //= 2ans[i] += 1print("".join(map(str, ans)))