# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
19862 | inspire12 | 창문 (kriii4_C) | C11 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
int main()
{
unsigned long mode = 1000000007;
unsigned long long h, w;
scanf_s("%lld %lld", &h, &w);
printf("%lld", (h%mode + 2)*(w%mode + 2) % mode);
}