Submission #19799

#TimeUsernameProblemLanguageResultExecution timeMemory
19799hongjun7창문 (kriii4_C)C++98
100 / 100
0 ms1084 KiB
#include <stdio.h>

#define MOD 1000000007

int main()
{
	long long h, w;
	scanf("%lld %lld", &h, &w);
	h %= MOD;
	w %= MOD;

	printf("%lld", ((h + 2)*(w + 2)) % MOD);
	return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...