Submission #19709

#TimeUsernameProblemLanguageResultExecution timeMemory
19709yongwhan창문 (kriii4_C)C++14
100 / 100
0 ms1716 KiB
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int mod=1e9+7; int main() { ll h,w; cin>>h>>w; h%=mod; w%=mod; cout << (h+2)*(w+2)%mod << endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...