main.cpp (240B)
1 #include <iostream> 2 using namespace std; 3 int main() { 4 // is the answer just (w x h) ** 2? 5 6 long long w; 7 long long h; 8 9 cin >> w; 10 cin >> h; 11 12 cout << ((w * h) % 998244353) * ((w * h) % 998244353) % 998244353 << endl; 13 }