Skip to content

Instantly share code, notes, and snippets.

View VictoriqueMoe's full-sized avatar

Victoria VictoriqueMoe

View GitHub Profile
@VictoriqueMoe
VictoriqueMoe / main.go
Last active October 26, 2024 02:22
go prime new
package main
import (
"fmt"
"math/big"
"time"
)
var one = big.NewInt(1)
var four = big.NewInt(4)
package org.example;
import com.google.common.base.Stopwatch;
import java.math.BigInteger;
public class PrimeChecker {
public static boolean checkPrime(final BigInteger given) {
@VictoriqueMoe
VictoriqueMoe / main.go
Created October 25, 2024 12:08
go prime
package main
import (
"fmt"
"math/big"
"time"
)
var one = big.NewInt(1)
var four = big.NewInt(4)