Submission #19717

#TimeUsernameProblemLanguageResultExecution timeMemory
19717yukariko창문 (kriii4_C)C++14
100 / 100
0 ms1720 KiB
#include <bits/stdc++.h> using namespace std; const int MOD = 1000000007; int main() { long long H, W; scanf("%lld%lld", &H, &W); long long p = (H + 2) % MOD; long long q = (W + 2) % MOD; printf("%lld", (p * q) % MOD); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...