結果

問題 No.2608 Divide into two
ユーザー なえしら
提出日時 2024-05-13 20:24:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 1,000 ms
コード長 161 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 81,952 KB
実行使用メモリ 53,256 KB
最終ジャッジ日時 2024-12-20 09:36:39
合計ジャッジ時間 807 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(T := int(input())):
  N = int(input())
  if N%4 == 0:
    print(N//4*"0110")
  elif N%4 == 3:
    print(N//4*"0011" + "001")
  else:
    print(-1)
0