提出 #70820015


ソースコード 拡げる

X, Y, Z = [int(i) for i in input().split()]

if X == Y:
    print(X, " ".join(["0"] * X))
    print(Z, " ".join(["0"] * Z))
    print(Z, " ".join(["0"] * Z))

else:
    print(X + Y, " ".join(["1"] * X + ["0"] * Y))
    print(Z, " ".join(["1"] * Z))
    print(Y + Z, " ".join(["0"] * Y + ["1"] * Z))

提出情報

提出日時
問題 B - Three Sequences
ユーザ hirayuu_At
言語 Python (Codon 0.19.3)
得点 500
コード長 310 Byte
結果 AC
実行時間 14 ms
メモリ 9540 KiB

コンパイルエラー


			

			
				

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 500 / 500
結果
AC × 1
AC × 27
セット名 テストケース
Sample 00-sample-001.txt
All 00-sample-001.txt, 01-one-001.txt, 01-one-002.txt, 01-one-003.txt, 01-one-004.txt, 01-one-005.txt, 01-one-006.txt, 01-one-007.txt, 01-one-008.txt, 01-one-009.txt, 01-one-010.txt, 01-one-011.txt, 01-one-012.txt, 01-one-013.txt, 01-one-014.txt, 01-one-015.txt, 02-two-001.txt, 02-two-002.txt, 02-two-003.txt, 02-two-004.txt, 02-two-005.txt, 02-two-006.txt, 02-two-007.txt, 02-two-008.txt, 02-two-009.txt, 02-two-010.txt, 02-two-011.txt
ケース名 結果 実行時間 メモリ
00-sample-001.txt AC 13 ms 9388 KiB
01-one-001.txt AC 12 ms 9332 KiB
01-one-002.txt AC 12 ms 9340 KiB
01-one-003.txt AC 13 ms 9244 KiB
01-one-004.txt AC 12 ms 9192 KiB
01-one-005.txt AC 13 ms 9220 KiB
01-one-006.txt AC 13 ms 9384 KiB
01-one-007.txt AC 12 ms 9208 KiB
01-one-008.txt AC 13 ms 9396 KiB
01-one-009.txt AC 12 ms 9208 KiB
01-one-010.txt AC 13 ms 9388 KiB
01-one-011.txt AC 13 ms 9064 KiB
01-one-012.txt AC 13 ms 9384 KiB
01-one-013.txt AC 13 ms 9148 KiB
01-one-014.txt AC 13 ms 9332 KiB
01-one-015.txt AC 14 ms 9384 KiB
02-two-001.txt AC 13 ms 9396 KiB
02-two-002.txt AC 13 ms 9160 KiB
02-two-003.txt AC 12 ms 9244 KiB
02-two-004.txt AC 13 ms 9244 KiB
02-two-005.txt AC 13 ms 9540 KiB
02-two-006.txt AC 12 ms 9304 KiB
02-two-007.txt AC 12 ms 9384 KiB
02-two-008.txt AC 13 ms 9140 KiB
02-two-009.txt AC 12 ms 9384 KiB
02-two-010.txt AC 13 ms 9156 KiB
02-two-011.txt AC 12 ms 9396 KiB