結果
問題 | No.1257 変わった平均値 |
ユーザー |
![]() |
提出日時 | 2020-10-16 22:44:25 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 372 bytes |
コンパイル時間 | 2,071 ms |
コンパイル使用メモリ | 198,220 KB |
最終ジャッジ日時 | 2025-01-15 09:00:25 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
#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;}else{cout << "No" << endl;}return 0;}