Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 2nd, 2015
204
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
bool
func
(
std
::
set
<
int
>
s,
int
n
)
{
if
(
s.
find
(
n
)
==
s.
end
(
)
)
{
return
false
;
// для вставки отсутствующего элемента пишешь - s.insert(s.end(), n);
}
return
true
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Instant Profits Method
CSS | 9 min ago | 0.44 KB
Free Money Exploit
CSS | 9 min ago | 0.44 KB
+12,000$ in 2 days
CSS | 9 min ago | 0.70 KB
✅ Changelly Exploit
9 min ago | 0.44 KB
diabetes care
CSS | 7 hours ago | 4.70 KB
army order
CSS | 7 hours ago | 2.13 KB
ini.php
PHP | 8 hours ago | 7.91 KB
Weatherlight - Flash melts sand
10 hours ago | 0.96 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!