結果
問題 | No.1257 変わった平均値 |
ユーザー |
![]() |
提出日時 | 2020-10-16 22:43:50 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 393 bytes |
コンパイル時間 | 2,101 ms |
コンパイル使用メモリ | 199,052 KB |
最終ジャッジ日時 | 2025-01-15 08:58:46 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 5 |
ソースコード
#include <bits/stdc++.h>using namespace std;using namespace chrono;int main(){vector<int> as(3), bs(3);for (auto &&a : as){cin >> a;}for (auto &&b : bs){cin >> b;}if (multiset<int>(as.begin(), as.end()) == multiset<int>(bs.begin(), bs.end())){cout << "Yes" << endl;cout << 2 << endl;cout << 2 << endl;}else{cout << "No" << endl;}return 0;}