Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
priklad
a guest
Jun 20th, 2020
455
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Rust
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
fn
calculate_perimeter
(
p
:
&
TriangleEdges
)
->
Option
<
f64
>
{
if
(
p.a
>
p.b
+
p.c
)
||
(
p.b
>
p.a
+
p.c
)
||
(
p.c
>
p.a
+
p.b
)
{
None
}
else
{
Some
(
p.a
+
p.b
+
p.c
)
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
3 min ago | 1.01 KB
December smells like money
CSS | 9 min ago | 0.39 KB
✅ Changelly.com Exploit
22 min ago | 0.39 KB
Trading method
CSS | 35 min ago | 0.39 KB
Google Docs - Exploit
49 min ago | 0.39 KB
coding and writing poetry
7 hours ago | 1.27 KB
UserScript - Hide Umingle video overlays
JavaScript | 9 hours ago | 1.97 KB
biplas v40 - Colonies apart from home
1 day ago | 0.68 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!