mirror of
https://github.com/logos-blockchain/lssa-zkvm-testing.git
synced 2026-01-15 19:53:12 +00:00
15 lines
231 B
Rust
15 lines
231 B
Rust
#![cfg_attr(target_arch = "riscv32", no_std, no_main)]
|
|
|
|
pub fn hept(n: u32) -> u32 {
|
|
|
|
for i in 0..100 {
|
|
let hept = (5*i*i - 3*i)/2;
|
|
}
|
|
0
|
|
}
|
|
|
|
#[nexus_rt::main]
|
|
fn main() {
|
|
let n = 7;
|
|
let result = hept(n);
|
|
} |