← Home
For problem statement at 0-999/100-199/150-159/153/problemB.txt this is a correct solution, but verifier at 0-999/100-199/150-159/153/verifierB.go ends with All 100 tests passed can you fix the verifier? package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

func main() {
	in := bufio.NewReader(os.Stdin)
	var n int64
	if _, err := fmt.Fscan(in, &n); err != nil {
		return
	}
	out := bufio.NewWriter(os.Stdout)
	fmt.Fprint(out, strconv.FormatInt(n, 2))
	out.Flush()
}