Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
B_Egal
SorinTurda
Nov 22nd, 2019
132
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.29 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
Egal
(
int
n
)
{
int
x
=
-
1
;
while
(
n
)
{
int
c
=
n
%
10
;
if
(
c
%
2
==
1
)
{
if
(
x
==
-
1
)
x
=
c
;
else
if
(
x
!
=
c
)
return
0
;
}
n
/
=
10
;
}
return
1
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
debug
C# | 19 min ago | 0.93 KB
Spreadsheet
C++ | 21 min ago | 3.61 KB
shader
C# | 23 min ago | 3.69 KB
Untitled
C | 26 min ago | 1.35 KB
MAX30100 Library rev_02
Arduino | 34 min ago | 1.89 KB
MedkitScript (Changed System)
CSS | 37 min ago | 2.18 KB
Heart Monitor rev_01
Arduino | 38 min ago | 1.89 KB
Untitled
JavaScript | 41 min ago | 0.58 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!