← Home
For problem statement at 1000-1999/1100-1199/1170-1179/1178/problemC.txt this is a correct solution, but verifier at 1000-1999/1100-1199/1170-1179/1178/verifierC.go ends with All tests passed can you fix the verifier? package main

import "fmt"

func main() {
	var w, h int
	if _, err := fmt.Scan(&w, &h); err != nil {
		return
	}
	ans := 1
	for i := 0; i < w+h; i++ {
		ans = (ans * 2) % 998244353
	}
	fmt.Println(ans)
}