結果

問題 No.1219 Mancala Combo
ユーザー KeroruKeroru
提出日時 2020-09-04 22:25:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 1,581 ms
コンパイル使用メモリ 86,740 KB
実行使用メモリ 114,200 KB
最終ジャッジ日時 2023-08-17 17:00:00
合計ジャッジ時間 4,157 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,092 KB
testcase_01 WA -
testcase_02 AC 72 ms
71,048 KB
testcase_03 AC 69 ms
71,112 KB
testcase_04 AC 70 ms
71,172 KB
testcase_05 WA -
testcase_06 AC 70 ms
71,076 KB
testcase_07 WA -
testcase_08 AC 70 ms
71,120 KB
testcase_09 WA -
testcase_10 AC 69 ms
71,188 KB
testcase_11 WA -
testcase_12 AC 69 ms
70,888 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 68 ms
71,132 KB
testcase_16 AC 71 ms
70,984 KB
testcase_17 WA -
testcase_18 AC 105 ms
101,936 KB
testcase_19 WA -
testcase_20 AC 107 ms
104,800 KB
testcase_21 WA -
testcase_22 AC 101 ms
98,920 KB
testcase_23 WA -
testcase_24 AC 97 ms
95,520 KB
testcase_25 WA -
testcase_26 AC 107 ms
101,996 KB
testcase_27 WA -
testcase_28 AC 118 ms
114,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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