結果

問題 No.1376 Simple LPS Problem
ユーザー 👑 KazunKazun
提出日時 2021-02-05 21:58:36
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 308 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 71,792 KB
最終ジャッジ日時 2023-09-15 08:08:51
合計ジャッジ時間 9,690 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,048 KB
testcase_01 AC 70 ms
71,428 KB
testcase_02 AC 71 ms
71,320 KB
testcase_03 AC 70 ms
71,100 KB
testcase_04 AC 71 ms
71,176 KB
testcase_05 AC 75 ms
71,380 KB
testcase_06 WA -
testcase_07 AC 71 ms
71,292 KB
testcase_08 AC 71 ms
71,328 KB
testcase_09 WA -
testcase_10 AC 72 ms
71,380 KB
testcase_11 AC 72 ms
71,048 KB
testcase_12 AC 76 ms
71,052 KB
testcase_13 AC 73 ms
71,260 KB
testcase_14 AC 72 ms
71,352 KB
testcase_15 AC 71 ms
71,376 KB
testcase_16 AC 70 ms
71,376 KB
testcase_17 AC 71 ms
71,180 KB
testcase_18 AC 70 ms
71,312 KB
testcase_19 WA -
testcase_20 AC 72 ms
71,300 KB
testcase_21 AC 72 ms
71,452 KB
testcase_22 AC 72 ms
71,052 KB
testcase_23 AC 72 ms
71,392 KB
testcase_24 AC 74 ms
71,120 KB
testcase_25 WA -
testcase_26 AC 71 ms
71,456 KB
testcase_27 AC 72 ms
71,252 KB
testcase_28 AC 71 ms
71,520 KB
testcase_29 AC 71 ms
71,308 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 72 ms
71,380 KB
testcase_33 AC 71 ms
71,056 KB
testcase_34 AC 71 ms
71,140 KB
testcase_35 AC 71 ms
71,428 KB
testcase_36 AC 73 ms
71,372 KB
testcase_37 WA -
testcase_38 AC 74 ms
71,580 KB
testcase_39 AC 73 ms
71,468 KB
testcase_40 AC 72 ms
71,580 KB
testcase_41 AC 73 ms
71,408 KB
testcase_42 WA -
testcase_43 AC 72 ms
71,256 KB
testcase_44 AC 72 ms
71,352 KB
testcase_45 WA -
testcase_46 WA -
testcase_47 WA -
testcase_48 AC 72 ms
71,332 KB
testcase_49 WA -
testcase_50 WA -
testcase_51 AC 71 ms
71,520 KB
testcase_52 WA -
testcase_53 WA -
testcase_54 WA -
testcase_55 AC 72 ms
71,176 KB
testcase_56 AC 76 ms
71,304 KB
testcase_57 AC 72 ms
71,300 KB
testcase_58 AC 72 ms
71,520 KB
testcase_59 AC 73 ms
71,376 KB
testcase_60 AC 72 ms
71,432 KB
testcase_61 AC 72 ms
71,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())
if K==1:
    if N==1:
        print("0")
    elif N==2:
        print("10")
    else:
        print(-1)
elif 2*K>N:
    if K==1:
        if N==1:
            print("0")
        else:
            print("10")
    else:
        print("0"+"1"*(K-2)+"0"+"0"*(N-K))
else:
    print(-1)
0