結果
| 問題 |
No.1692 Expectations
|
| コンテスト | |
| ユーザー |
manjuuu_onsen
|
| 提出日時 | 2021-11-27 20:24:20 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 284 bytes |
| コンパイル時間 | 3,162 ms |
| コンパイル使用メモリ | 171,132 KB |
| 実行使用メモリ | 12,800 KB |
| 最終ジャッジ日時 | 2024-06-30 11:27:38 |
| 合計ジャッジ時間 | 3,416 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 WA * 2 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
using pint = pair<int,int>;
int main()
{
int N, M; cin >> N >> M;
set<int> st;
for(int i = 0; i < N; i++) {
int c; cin >> c;
st.insert(c);
}
cout << st.size() << " " << (st.size() == 1 ? 1 : 0) << endl;
}
manjuuu_onsen