結果
問題 |
No.1692 Expectations
|
ユーザー |
|
提出日時 | 2021-10-02 03:36:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 231 bytes |
コンパイル時間 | 1,511 ms |
コンパイル使用メモリ | 170,440 KB |
実行使用メモリ | 12,672 KB |
最終ジャッジ日時 | 2024-07-19 21:06:05 |
合計ジャッジ時間 | 3,046 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 WA * 3 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,v; cin>>n>>m; set<int> S; while(n--){ cin>>v; S.insert(v); } cout<<S.size()<<" "<<(n==m&&S.size()==1&&*S.begin()<=m)<<endl; }