結果

問題 No.1219 Mancala Combo
ユーザー KeroruKeroru
提出日時 2020-09-04 22:33:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 426 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 114,688 KB
最終ジャッジ日時 2023-08-17 17:26:06
合計ジャッジ時間 4,468 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,360 KB
testcase_01 AC 72 ms
71,276 KB
testcase_02 WA -
testcase_03 AC 72 ms
71,284 KB
testcase_04 WA -
testcase_05 AC 73 ms
71,484 KB
testcase_06 WA -
testcase_07 AC 74 ms
71,364 KB
testcase_08 WA -
testcase_09 AC 73 ms
70,996 KB
testcase_10 WA -
testcase_11 AC 74 ms
71,200 KB
testcase_12 WA -
testcase_13 AC 74 ms
71,452 KB
testcase_14 AC 74 ms
71,200 KB
testcase_15 AC 73 ms
70,996 KB
testcase_16 WA -
testcase_17 AC 117 ms
101,816 KB
testcase_18 WA -
testcase_19 AC 105 ms
98,664 KB
testcase_20 WA -
testcase_21 AC 101 ms
95,772 KB
testcase_22 WA -
testcase_23 AC 116 ms
109,016 KB
testcase_24 WA -
testcase_25 AC 104 ms
98,264 KB
testcase_26 WA -
testcase_27 AC 123 ms
113,704 KB
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,*a=map(int,open(0).read().split())
t=k=0
while a:
 c=a.pop()
 if c==0:0
 elif c+t==n:t+=1
 else:k=1
 n-=1
print('YNeos'[k::2])
0