Skip to content

Commit cbc2643

Browse files
committed
solved 13701
1 parent 010dc73 commit cbc2643

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

13000/13701/13701.cpp

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#include <bits/stdc++.h>
2+
using namespace std;
3+
4+
bitset<1<<25> bs;
5+
6+
int main() {
7+
ios::sync_with_stdio(false); cin.tie(NULL);
8+
9+
int t;
10+
while(cin>>t){
11+
if(!bs.test(t)){
12+
cout<<t<<" ";
13+
bs.set(t, true);
14+
}
15+
}
16+
cout<<"\n";
17+
return 0;
18+
}

0 commit comments

Comments
 (0)