Docs.rs
contest-algorithms-0.2.0
contest-algorithms 0.2.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
EbTech
Dependencies
Versions
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
contest_algorithms
::
math
All crates
[
−
]
[src]
Function
contest_algorithms
::
math
::
is_prime
pub fn is_prime(n:
i64
) ->
bool
Assuming x >= 0, returns whether x is prime