結果

問題 No.1732 ~サンプルはちゃんと見て!~ 16進数と8進数(2)
ユーザー H20
提出日時 2021-10-24 16:37:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 82,344 KB
実行使用メモリ 54,680 KB
最終ジャッジ日時 2024-11-06 11:50:26
合計ジャッジ時間 1,367 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 1 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
S = 'GCcabcceacccccabebdccc'*10
for _ in range(T):
    N = int(input())
    if (N%21)%5==0:
        print(S[len(S)-N::])
    else:
        print('-2')
0