結果
| 問題 |
No.1257 変わった平均値
|
| コンテスト | |
| ユーザー |
沙耶花
|
| 提出日時 | 2020-10-16 21:33:49 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 440 bytes |
| コンパイル時間 | 1,960 ms |
| コンパイル使用メモリ | 197,880 KB |
| 最終ジャッジ日時 | 2025-01-15 08:09:41 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 WA * 1 |
ソースコード
#include <stdio.h>
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf 1000000001
int main(){
vector<int> s(3),t(3);
rep(i,3){
cin>>s[i];
}
rep(i,3){
cin>>t[i];
}
if(s==t){
cout<<"Yes"<<endl;
return 0;
}
sort(s.begin(),s.end());
sort(t.begin(),t.end());
if(s==t){
cout<<"Yes"<<endl;
cout<<2<<endl;
return 0;
}
cout<<"No"<<endl;
return 0;
}
沙耶花