Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 4th, 2018
2,094
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
📌 Make $1000+ DAILY with Marketplace Exploit...
JavaScript | 1 min ago | 0.06 KB
🔥 EARN $900 INSTANTLY 2025 9B
JavaScript | 2 min ago | 0.06 KB
📌 Make $1000 15-MINUTES (BEGINNER) I6
JavaScript | 3 min ago | 0.06 KB
📌 Make $1000+ DAILY with Marketplace Exploit...
JavaScript | 4 min ago | 0.06 KB
📌 Make $1000+ DAILY with Marketplace Exploit...
JavaScript | 5 min ago | 0.06 KB
Пример кода внутреннего модуля
C++ | 8 min ago | 2.78 KB
Пример кода внешнего модуля погодной станции
C++ | 13 min ago | 2.54 KB
Find device name input in list
Python | 14 min ago | 0.84 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!