結果
問題 | No.1707 Simple Range Reverse Problem |
ユーザー |
![]() |
提出日時 | 2021-10-17 14:31:14 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 181 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 82,400 KB |
実行使用メモリ | 60,420 KB |
最終ジャッジ日時 | 2024-09-17 19:40:29 |
合計ジャッジ時間 | 1,452 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 WA * 12 |
ソースコード
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')