結果
問題 | No.1257 変わった平均値 |
ユーザー |
|
提出日時 | 2020-10-16 21:24:20 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 284 bytes |
コンパイル時間 | 1,800 ms |
コンパイル使用メモリ | 196,100 KB |
最終ジャッジ日時 | 2025-01-15 08:01:29 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 1 |
ソースコード
#include <bits/stdc++.h>#define rep(i,n) for(int i=0;i<(n);i++)using namespace std;int main(){int a,b,c,d,e,f; cin>>a>>b>>c>>d>>e>>f;if(multiset<int>{a,b,c}==multiset<int>{d,e,f}){puts("Yes");if(a!=d || b!=e || c!=f) puts("2");}else{puts("No");}return 0;}