結果
問題 |
No.1257 変わった平均値
|
ユーザー |
|
提出日時 | 2020-10-16 21:24:40 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 249 bytes |
コンパイル時間 | 1,988 ms |
コンパイル使用メモリ | 196,988 KB |
最終ジャッジ日時 | 2025-01-15 08:02:28 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
#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\n2"); } else{ puts("No"); } return 0; }