Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
uva12468
noshin98
Jun 26th, 2016
176
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
dataNone
JSON | 16 sec ago | 0.64 KB
Products.js
JavaScript | 7 min ago | 1.18 KB
Make $1000 15-MINUTES (BEGINNER) RQ
JavaScript | 12 min ago | 0.05 KB
Order.js
JavaScript | 23 min ago | 1.18 KB
EARN $900 INSTANTLY 2025 V9
JavaScript | 28 min ago | 0.05 KB
Market.js
JavaScript | 39 min ago | 1.18 KB
Make $1000 15-MINUTES (BEGINNER) RV
JavaScript | 45 min ago | 0.05 KB
Untitled
JavaScript | 54 min ago | 1.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!