Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Mihai_Preda
Jan 25th, 2023
172
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
f
(
char
s
[
100
]
)
{
int
nr
=
0
, i, n
=
strlen
(
s
)
, p
=
1
;
for
(
i
=
0
;
s
[
i
]
>=
'0'
&&
s
[
i
]
<=
'9'
;
i
++
)
{
nr
=
nr
+
p
*
(
s
[
n
-
i
-
1
]
-
'0'
)
;
p
*
=
10
;
}
return
nr
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 min ago | 0.38 KB
Makefile
Make | 8 min ago | 0.38 KB
opcodes.h
C | 9 min ago | 1.12 KB
OpenBSD.Virus.Wormwood - Source Code
6502 TASM/64TASS | 18 min ago | 7.22 KB
Number of Provinces
C++ | 22 min ago | 0.70 KB
minimal spanning tree
Python | 30 min ago | 7.15 KB
pastebin.ai - #1 pastebin.com alternative
PHP | 46 min ago | 0.86 KB
Makefile
Make | 59 min ago | 0.32 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!