結果
問題 |
No.1537 私の代わりに仕事やっといてください。
|
ユーザー |
![]() |
提出日時 | 2021-06-06 16:20:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 1,477 ms |
コンパイル使用メモリ | 170,836 KB |
実行使用メモリ | 12,800 KB |
最終ジャッジ日時 | 2024-11-26 17:44:57 |
合計ジャッジ時間 | 3,714 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; assert(2<=n && n<=200000); set<int> st; int a; int cnt=0; while(cin >> a){ cnt++; assert(1<=a && a<=1000000000); st.insert(a); } assert((int)st.size()==n && cnt==n); }