結果

問題 No.1692 Expectations
ユーザー lyulu
提出日時 2021-10-01 21:25:03
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 361 ms
コンパイル使用メモリ 49,536 KB
実行使用メモリ 12,544 KB
最終ジャッジ日時 2024-07-19 10:27:38
合計ジャッジ時間 1,661 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 17 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <set>

int main() {
    int n, m, in;
    scanf("%d %d", &n, &m);
    std::set<int> s;
    for(int i = 0; i < n; ++i) {
        scanf("%d", &in);
        s.insert(in);
    }
    printf("%ld %d\n", s.size(), 0);
    return 0;
}
0