結果
| 問題 | 
                            No.930 数列圧縮
                             | 
                    
| コンテスト | |
| ユーザー | 
                             amaridekinai
                         | 
                    
| 提出日時 | 2019-11-24 18:49:35 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 243 bytes | 
| コンパイル時間 | 1,148 ms | 
| コンパイル使用メモリ | 161,080 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-10-12 04:21:27 | 
| 合計ジャッジ時間 | 5,152 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 2 | 
| other | AC * 3 WA * 21 | 
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){ 
  int n; cin >> n; 
  vector<int> a(n); for(int i = 0; i < n; i++){ cin >> a[i];}
  
  if( a.front() < a.back()){ cout << "Yes" << endl;}
  else{ cout << "No" << endl;}
  
  return 0;
}
            
            
            
        
            
amaridekinai