結果

問題 No.2247 01 ZigZag
ユーザー katonyonkokatonyonko
提出日時 2023-03-17 21:38:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 220 ms
コンパイル使用メモリ 81,768 KB
実行使用メモリ 60,128 KB
最終ジャッジ日時 2023-10-18 14:09:00
合計ジャッジ時間 3,708 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N,M,K=map(int,input().split())
def cnt(a):
  return 2*a-1+(1 if M>a else 0)+(1 if N>a else 0)
ans=-1
for i in range(min(N,M)+1):
  if cnt(i)==K: ans=i; break
if ans==-1: print(ans)
else: print('0'*(N-ans)+'10'*ans+'1'*(M-ans))
0