Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
uva12468
noshin98
Jun 26th, 2016
168
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.26 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<stdio.h>
int
main
(
)
{
int
a
,
b
,
i
,
c
;
while
(
scanf
(
"%d%d"
,&
a
,&
b
)
==
2
)
{
if
(
a
<
0
&&
b
<
0
)
break
;
c
=
abs
(
a
-
b
)
;
if
(
c
>=
50
)
c
=
100
-
c
;
printf
(
"%d
\n
"
,
c
)
;
}
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐ get any gift card for FREE⭐ 54
JavaScript | 5 sec ago | 0.17 KB
⭐ get any gift card for 6C
JavaScript | 5 sec ago | 0.17 KB
⭐ get any gift card for GD
JavaScript | 7 sec ago | 0.17 KB
⭐️ EARN $500 INSTANTLY⭐ Z1
JavaScript | 13 sec ago | 0.17 KB
⭐️ EARN $500 INSTANTLY⭐ 4M
JavaScript | 15 sec ago | 0.17 KB
⭐ FREE giftcards method 3D
JavaScript | 21 sec ago | 0.17 KB
⭐ get any gift card for FREE⭐ 54
JavaScript | 23 sec ago | 0.17 KB
⭐️ EARN $500 INSTANTLY 56
JavaScript | 24 sec ago | 0.17 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!