Submission #19937

#TimeUsernameProblemLanguageResultExecution timeMemory
19937noslaak창문 (kriii4_C)C++98
100 / 100
0 ms1716 KiB
#include <iostream> const int LN = 1000000007; int main() { long long H, W; while( std::cin >> H >> W ) { long long E = (((H+2)%LN)*((W+2)%LN))%LN; std::cout << E << std::endl; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...