Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
sivan_iut
Feb 29th, 2020
63
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<stdio.h>
int
main
(
)
{
long
long
n
;
scanf
(
"%lld"
,&
n
)
;
if
(
n
%
2
==
0
)
printf
(
"%lld"
,
n
/
2
)
;
if
(
n
%
2
==
1
)
printf
(
"%lld"
,
n
/
2
-
n
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑G2A.com Free Gift Card Guide June 2024 Fix🎁
Python | 22 min ago | 0.35 KB
🤑 G2A.com Free Gift Card Guide Jun 2024 FIX 🤑
GetText | 24 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Jun 2024 FIX 🎁
GetText | 38 min ago | 0.36 KB
"Motor Control" rev_01
Arduino | 43 min ago | 2.62 KB
NextBASIC Inline Assembler NEX Demo
ZXBasic | 49 min ago | 1.57 KB
Pet 99 pet spawner
C# | 53 min ago | 0.04 KB
add two 16 bit numbers on an 8 bit microcontr...
ASM (NASM) | 1 hour ago | 0.42 KB
SDF
Lua | 1 hour ago | 2.56 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!