Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 7th, 2017
6,546
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
#include <string.h>
using
namespace
std
;
int
main
(
)
{
string a,b
;
cin
>>
a
>>
b
;
if
(
a
==
b
)
cout
<<
-
1
;
else
cout
<<
max
(
a.
size
(
)
,b.
size
(
)
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
🔥 0 DAY Hacked 🔥
CSS | 1 min ago | 0.85 KB
🔥 0 DAY Hacked 🔥
CSS | 1 min ago | 0.85 KB
How to hack an exchange
CSS | 2 min ago | 0.85 KB
✅ 0 DAY Hacked
CSS | 2 min ago | 0.86 KB
How to hack an exchange
CSS | 2 min ago | 0.85 KB
⭐ +12,000$ in 2 days ⭐
CSS | 3 min ago | 0.85 KB
⭐ +12,000$ in 2 days ⭐
CSS | 3 min ago | 0.85 KB
✅ +12,000$ in 2 days
CSS | 3 min ago | 0.86 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!