結果
問題 | No.1257 変わった平均値 |
ユーザー |
|
提出日時 | 2020-10-16 22:12:27 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 559 bytes |
コンパイル時間 | 1,704 ms |
コンパイル使用メモリ | 172,296 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 21:59:10 |
合計ジャッジ時間 | 2,505 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long #define rep(i, n) for(int i = 0; i < n; i++) #define all(a) a.begin(), a.end() #define P pair<int, int> #define F first #define S second #define INF 1e18 #define MOD 998244353 signed main(){ vector<int>V0,V1; rep(i,3){ int n;cin>>n; V0.push_back(n); } rep(i,3){ int n;cin>>n; V1.push_back(n); } sort(all(V0)); sort(all(V1)); if(V0==V1){ cout<<"Yes"<<endl; cout<<2<<endl; } else cout<<"No"<<endl; }