結果
問題 | No.1732 ~サンプルはちゃんと見て!~ 16進数と8進数(2) |
ユーザー | 👑 H20 |
提出日時 | 2021-10-24 16:33:07 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 52,736 KB |
最終ジャッジ日時 | 2024-04-24 04:55:26 |
合計ジャッジ時間 | 1,126 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 35 ms
51,840 KB |
testcase_01 | AC | 35 ms
51,968 KB |
testcase_02 | AC | 39 ms
52,608 KB |
testcase_03 | AC | 39 ms
52,736 KB |
ソースコード
T = int(input()) S = 'ccabcceacccccabebdccc'*10 for _ in range(T): N = int(input()) if N%21==0 or N%21==5 or N%21==10: print(S[len(S)-N::]) else: print('-1 ')