結果

問題 No.2247 01 ZigZag
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2023-03-17 22:58:41
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 256 bytes
コンパイル時間 867 ms
コンパイル使用メモリ 81,464 KB
実行使用メモリ 54,140 KB
最終ジャッジ日時 2023-10-18 15:59:49
合計ジャッジ時間 4,360 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,416 KB
testcase_01 AC 38 ms
53,416 KB
testcase_02 AC 37 ms
53,416 KB
testcase_03 AC 37 ms
53,416 KB
testcase_04 AC 36 ms
53,416 KB
testcase_05 WA -
testcase_06 AC 37 ms
53,416 KB
testcase_07 AC 37 ms
53,416 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 37 ms
53,416 KB
testcase_11 AC 37 ms
53,416 KB
testcase_12 AC 37 ms
53,416 KB
testcase_13 AC 37 ms
53,416 KB
testcase_14 AC 37 ms
53,416 KB
testcase_15 WA -
testcase_16 AC 37 ms
53,416 KB
testcase_17 WA -
testcase_18 AC 37 ms
53,416 KB
testcase_19 AC 37 ms
53,416 KB
testcase_20 AC 38 ms
53,416 KB
testcase_21 AC 37 ms
53,416 KB
testcase_22 AC 38 ms
53,828 KB
testcase_23 AC 38 ms
53,416 KB
testcase_24 AC 37 ms
53,416 KB
testcase_25 WA -
testcase_26 AC 37 ms
53,416 KB
testcase_27 AC 37 ms
53,416 KB
testcase_28 AC 37 ms
53,812 KB
testcase_29 AC 37 ms
53,416 KB
testcase_30 AC 37 ms
53,864 KB
testcase_31 AC 37 ms
53,416 KB
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 38 ms
53,416 KB
testcase_38 WA -
testcase_39 WA -
testcase_40 AC 37 ms
53,416 KB
testcase_41 AC 37 ms
53,416 KB
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 AC 37 ms
54,140 KB
testcase_46 WA -
testcase_47 WA -
testcase_48 AC 37 ms
53,416 KB
testcase_49 WA -
testcase_50 WA -
testcase_51 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m,k = map(int,input().split())


need = k//2

zero = need
one = need
if k%2 == 0:
    zero += 1
    one = need

if n < zero or m < one:
    print(-1)
    exit()


ans = "0"*(n-zero) + "01"*need

ans += "1"*(m-one)

if k%2 == 0:
    ans += "0"
print(ans)
0