結果

問題 No.1707 Simple Range Reverse Problem
ユーザー brthyyjpbrthyyjp
提出日時 2021-10-17 14:31:14
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 181 bytes
コンパイル時間 1,717 ms
コンパイル使用メモリ 81,444 KB
実行使用メモリ 59,476 KB
最終ジャッジ日時 2023-10-17 22:27:18
合計ジャッジ時間 1,880 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,368 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 43 ms
59,384 KB
testcase_09 AC 41 ms
59,384 KB
testcase_10 AC 42 ms
59,384 KB
testcase_11 AC 42 ms
59,384 KB
testcase_12 AC 42 ms
59,384 KB
testcase_13 AC 41 ms
59,384 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

t = int(input())
for _ in range(t):
    n = int(input())
    A = list(map(int, input().split()))
    if A[0] == 1 and A[-1] == n:
        print('Yes')
    else:
        print('No')
0