Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 4th, 2018
1,986
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
1 year
#
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
G2A Timezone Glitch
JavaScript | 7 sec ago | 0.18 KB
FREE IPHONE 15 PRO REFUNDING GUIDE
JavaScript | 25 sec ago | 0.35 KB
Get any giftcard for free [Method]
JavaScript | 41 sec ago | 0.18 KB
2024-07-26_stats.json
JSON | 50 sec ago | 5.08 KB
💸Make 500$ in 30 minutes💸
JavaScript | 58 sec ago | 0.19 KB
Free Apple Products ❤️ METHOD
JavaScript | 1 min ago | 0.35 KB
⭐FREE GIFTCARDS METHOD⭐July 2024
JavaScript | 1 min ago | 0.18 KB
🤑G2A.com Free Gift Card EXPLOIT July 2024🤑
JavaScript | 1 min ago | 0.18 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!