結果
| 問題 | No.1257 変わった平均値 | 
| コンテスト | |
| ユーザー |  tko919 | 
| 提出日時 | 2020-09-04 20:46:52 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 660 bytes | 
| コンパイル時間 | 1,458 ms | 
| コンパイル使用メモリ | 167,756 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-27 14:30:35 | 
| 合計ジャッジ時間 | 2,194 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 20 WA * 5 | 
ソースコード
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
//template
#define rep(i,a,b) for(int i=(int)(a);i<(int)(b);i++)
#define ALL(v) (v).begin(),(v).end()
typedef long long int ll;
const int inf = 0x3fffffff; const ll INF = 0x1fffffffffffffff; const double eps=1e-12;
template<typename T>inline bool chmax(T& a,T b){if(a<b){a=b;return 1;}return 0;}
template<typename T>inline bool chmin(T& a,T b){if(a>b){a=b;return 1;}return 0;}
//end
int main(){
   int a[3],b[3];
   rep(i,0,3)cin>>a[i];
   rep(i,0,3)cin>>b[i];
   sort(a,a+3); sort(b,b+3);
   if(a[0]==b[0] and a[1]==b[1] and a[2]==b[2])puts("Yes");
   else puts("No");
   return 0;
}
            
            
            
        