結果
| 問題 |
No.1257 変わった平均値
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2020-10-16 22:42:56 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 368 bytes |
| コンパイル時間 | 2,127 ms |
| コンパイル使用メモリ | 198,384 KB |
| 最終ジャッジ日時 | 2025-01-15 08:58:08 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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 << 2 << endl;
cout << 2 << endl;
}
else
{
cout << "No" << endl;
}
return 0;
}
ldsyb