結果

問題 No.8009 異なる数字の最大の範囲(勉強会用)
ユーザー ldsyb
提出日時 2016-04-09 11:34:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 613 ms
コンパイル使用メモリ 71,892 KB
実行使用メモリ 8,192 KB
最終ジャッジ日時 2024-06-12 22:31:01
合計ジャッジ時間 1,680 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <set>
using namespace std;

int main(){
   int n;
   cin >> n;
   set<int> s;
   while(n--){
      int a;
      cin >> a;
      s.insert(a);
   }
   cout << s.size() << endl;
}
0