Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
P59497: És un palíndrom?
JosepRivaille
Apr 29th, 2015
316
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using
namespace
std
;
bool
es_palindrom
(
const
string
&
s
)
{
int
i
=
0
;
int
k
=
s.
size
(
)
;
--
k
;
while
(
i
<
k
)
{
if
(
s
[
i
]
!
=
s
[
k
]
)
return
false
;
++
i
;
--
k
;
}
return
true
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Exploit found by AI
CSS | 8 min ago | 0.99 KB
Older node trading
CSS | 8 min ago | 0.99 KB
FREE COINS METHOD
CSS | 8 min ago | 0.99 KB
How to hack an exchange
CSS | 8 min ago | 0.99 KB
Got $12,000 from this method
CSS | 8 min ago | 0.99 KB
Instant Profits Method
CSS | 2 hours ago | 0.99 KB
sglang llm key
1 day ago | 0.07 KB
doc
1 day ago | 14.62 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!