結果

問題 No.2608 Divide into two
ユーザー naesiranaesira
提出日時 2024-05-13 20:24:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 161 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 82,184 KB
実行使用メモリ 53,756 KB
最終ジャッジ日時 2024-05-13 20:24:54
合計ジャッジ時間 1,257 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,364 KB
testcase_01 AC 40 ms
52,692 KB
testcase_02 AC 40 ms
53,756 KB
権限があれば一括ダウンロードができます

ソースコード

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