Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
n = int(raw_input())
while n:
s = raw_input().split()
a = int(s[0])
b = int(s[1])
iloczyn = a*b
while a!=b:
if a>b:
a-=b
else:
b-=a
print iloczyn/a
n-=1
Add Comment
Please,
Sign In
to add comment
Public Pastes
Toilet Tower Defense | Askar Script
Lua | 24 min ago | 0.10 KB
Untitled
C++ | 28 min ago | 1.08 KB
News April26 24
Email | 31 min ago | 91.34 KB
Untitled
Lisp | 39 min ago | 0.88 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 52 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 59 min ago | 0.39 KB
Projects
HTML | 1 hour ago | 3.87 KB
[db error] mainwindow.cpp
C++ | 2 hours ago | 0.57 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!