← Home
For problem statement at 0-999/100-199/160-169/162/problemA.txt this is a correct solution, but verifier at 0-999/100-199/160-169/162/verifierA.go ends with All 100 tests passed. can you fix the verifier? package main

import "fmt"

func main() {
	var n int
	fmt.Scan(&n)
	fmt.Print((3*n*n - n) / 2)
}