Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 23rd, 2018
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
var
i, j, x, c: integer;
begin
x:=?;
i:=1;
j:=45;
c:=0;
while i<>j do
if i<j then
begin
i:=i+x;
x:=x-1;
c:=c+1;
end
else
begin
j:=j+x;
x:=x-1;
c:=c+1;
end;
end.
Add Comment
Please,
Sign In
to add comment
Public Pastes
Arduino - Lettura sensore differenziale MS452...
Arduino | 3 min ago | 1.59 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 13 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 19 min ago | 0.39 KB
Задача 5
Python | 24 min ago | 0.57 KB
CC Mekanism Induction Battery Monitoring V2
Lua | 57 min ago | 6.67 KB
Задача 4
Python | 60 min ago | 0.68 KB
Задача 3
Python | 1 hour ago | 1.05 KB
RMS BACKUP 5/10/24
CSS | 1 hour ago | 5.64 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!