結果
問題 |
No.1537 私の代わりに仕事やっといてください。
|
ユーザー |
![]() |
提出日時 | 2021-06-05 22:58:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 301 bytes |
コンパイル時間 | 1,635 ms |
コンパイル使用メモリ | 169,940 KB |
実行使用メモリ | 12,800 KB |
最終ジャッジ日時 | 2024-11-26 17:43:57 |
合計ジャッジ時間 | 4,141 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 9 |
ソースコード
#include<bits/stdc++.h> using namespace std; //これがWA->A[i]!=A[j]の制約を満たす //これがRE->A[i]!=A[j]を満たさない int main(){ int n; cin >> n; set<int> st; for(int i=0;i<n;i++){ int a;cin >> a; st.insert(a); } assert((int)st.size()==n); }