/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 320.0 KiB
#2 Wrong Answer 3ms 396.0 KiB

Code

#include <bits/stdc++.h>

using namespace std;

int main() {
    int t;cin>>t;
    while(t--){
      int n;cin>>n;
      vector<int>vl(n);
      for(int i=0;i<n;i++)cin>>vl[i];
      
      if(vl[0]==1)cout<<"NO"<<endl;
      else cout<<"YES"<<endl;
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1055 Array Permutation
Contest
Brain Booster #3
Language
C++20 (G++ 13.2.0)
Submit At
2024-05-06 15:13:10
Judged At
2024-11-11 03:34:57
Judged By
Score
0
Total Time
3ms
Peak Memory
396.0 KiB