Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 4th, 2018
2,124
0
Never
1
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using
namespace
std
;
int
main
(
)
{
int
x
;
cin
>>
x
;
if
(
x
==
1
)
cout
<<
-
1
;
else
cout
<<
x
-
x
%
2
<<
' '
<<
2
;
}
Comments
Oditi_Ritchil
2 years
#
text
0.02 KB |
1
0
view
report
reply
why did we take x-x%2 ?
Add Comment
Please,
Sign In
to add comment
Public Pastes
FREE BTC GUIDE E
JavaScript | 9 sec ago | 0.07 KB
Make $2000 in 15 minutes E
JavaScript | 17 sec ago | 0.07 KB
✅ MAKE $1200 IN 15 MIN
JavaScript | 30 sec ago | 0.08 KB
Make $1200 in 15 minutes
JavaScript | 43 sec ago | 0.08 KB
✅ Account Leaks
JavaScript | 56 sec ago | 0.08 KB
MAKE $5000 INSTANTLY 0
JavaScript | 57 sec ago | 0.07 KB
✅ MAKE $22OO IN 10 MIN V
JavaScript | 1 min ago | 0.07 KB
GMAIL Logs (2FA disabled)
JavaScript | 1 min ago | 0.08 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!