Skip to content

Instantly share code, notes, and snippets.

package main
import (
"bufio"
"context"
"flag"
"fmt"
"math"
"os"
"strconv"
package main
import (
"testing"
)
func TestGetScore_ExactMatch(t *testing.T) {
stamps := []ScoreStamp{
{Offset: 0, Score: Score{0, 0}},
{Offset: 5, Score: Score{1, 0}},
package main
import (
"fmt"
"math"
"math/rand"
"time"
)
const TIMESTAMPS_COUNT = 50000