結果
問題 |
No.1707 Simple Range Reverse Problem
|
ユーザー |
![]() |
提出日時 | 2021-10-20 22:24:17 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 279 bytes |
コンパイル時間 | 185 ms |
コンパイル使用メモリ | 82,180 KB |
実行使用メモリ | 63,100 KB |
最終ジャッジ日時 | 2024-09-20 06:44:20 |
合計ジャッジ時間 | 1,782 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 5 WA * 13 |
ソースコード
Q=int(input()) from collections import Counter for _ in range(Q): N=int(input()) C=Counter([int(x) for x in input().split()]) flag=True for i in range(N): if C[i-1]!=2: flag=False if flag: print("Yes") else: print("No")