結果

問題 No.629 グラフの中に眠る門松列
ユーザー tailstails
提出日時 2019-07-30 19:37:14
言語 Bash
(Bash 5.1.16)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 129 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-18 15:40:27
合計ジャッジ時間 61,404 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
4,376 KB
testcase_01 AC 5 ms
4,380 KB
testcase_02 AC 7 ms
4,376 KB
testcase_03 AC 7 ms
4,376 KB
testcase_04 AC 7 ms
4,376 KB
testcase_05 AC 5 ms
4,380 KB
testcase_06 AC 3 ms
4,380 KB
testcase_07 AC 4 ms
4,380 KB
testcase_08 AC 4 ms
4,380 KB
testcase_09 AC 4 ms
4,380 KB
testcase_10 AC 6 ms
4,376 KB
testcase_11 AC 6 ms
4,380 KB
testcase_12 AC 8 ms
4,376 KB
testcase_13 AC 4 ms
4,376 KB
testcase_14 AC 7 ms
4,380 KB
testcase_15 AC 7 ms
4,380 KB
testcase_16 AC 7 ms
4,376 KB
testcase_17 AC 7 ms
4,376 KB
testcase_18 AC 6 ms
4,376 KB
testcase_19 AC 6 ms
4,376 KB
testcase_20 AC 6 ms
4,380 KB
testcase_21 AC 1,085 ms
4,376 KB
testcase_22 AC 1,053 ms
4,376 KB
testcase_23 AC 1,057 ms
4,376 KB
testcase_24 AC 3,701 ms
4,380 KB
testcase_25 AC 3,685 ms
4,376 KB
testcase_26 AC 3,818 ms
4,380 KB
testcase_27 TLE -
testcase_28 AC 435 ms
4,376 KB
testcase_29 AC 2,802 ms
4,380 KB
testcase_30 TLE -
testcase_31 AC 3,893 ms
4,376 KB
testcase_32 AC 3,944 ms
4,380 KB
testcase_33 AC 3,992 ms
4,380 KB
testcase_34 AC 2,775 ms
4,376 KB
testcase_35 AC 2,714 ms
4,376 KB
testcase_36 AC 3,895 ms
4,376 KB
testcase_37 AC 2,781 ms
4,380 KB
testcase_38 AC 3,917 ms
4,380 KB
testcase_39 AC 2,722 ms
4,380 KB
testcase_40 AC 1,593 ms
4,380 KB
testcase_41 AC 1,576 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read n m
read -aa
while read u v
do
'r|=d&&x[u=u*2|d<0]&&x[u]-d,x[u]|=d'
$[d=a[--u]-a[--v],_,u=v,d=-d,_]
done
NO
echo ${_[r]-YES}
0