Submission #57245

# Submission time Handle Problem Language Result Execution time Memory
57245 2018-07-14T10:49:24 Z babo 창문 (kriii4_C) C++14
100 / 100
4 ms 644 KB
#include <stdio.h>

int main()
{
	long long n,m;
	scanf("%lld %lld",&n,&m);
	printf("%lld\n",(((n+2)%1000000007)*((m+2)%1000000007))%1000000007);
}

Compilation message

C.cpp: In function 'int main()':
C.cpp:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld %lld",&n,&m);
  ~~~~~^~~~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 2 ms 248 KB Output is correct
2 Correct 2 ms 356 KB Output is correct
3 Correct 2 ms 520 KB Output is correct
4 Correct 2 ms 520 KB Output is correct
5 Correct 2 ms 520 KB Output is correct
6 Correct 3 ms 520 KB Output is correct
7 Correct 2 ms 520 KB Output is correct
8 Correct 3 ms 520 KB Output is correct
9 Correct 2 ms 520 KB Output is correct
10 Correct 2 ms 520 KB Output is correct
11 Correct 2 ms 520 KB Output is correct
12 Correct 2 ms 520 KB Output is correct
13 Correct 3 ms 520 KB Output is correct
14 Correct 2 ms 520 KB Output is correct
15 Correct 2 ms 520 KB Output is correct
16 Correct 2 ms 520 KB Output is correct
17 Correct 2 ms 520 KB Output is correct
18 Correct 2 ms 520 KB Output is correct
19 Correct 2 ms 520 KB Output is correct
20 Correct 2 ms 520 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 3 ms 520 KB Output is correct
2 Correct 2 ms 520 KB Output is correct
3 Correct 2 ms 520 KB Output is correct
4 Correct 2 ms 520 KB Output is correct
5 Correct 3 ms 520 KB Output is correct
6 Correct 2 ms 540 KB Output is correct
7 Correct 2 ms 540 KB Output is correct
8 Correct 2 ms 540 KB Output is correct
9 Correct 3 ms 540 KB Output is correct
10 Correct 3 ms 540 KB Output is correct
11 Correct 2 ms 540 KB Output is correct
12 Correct 2 ms 540 KB Output is correct
13 Correct 3 ms 540 KB Output is correct
14 Correct 2 ms 544 KB Output is correct
15 Correct 4 ms 644 KB Output is correct
16 Correct 3 ms 644 KB Output is correct
17 Correct 2 ms 644 KB Output is correct
18 Correct 3 ms 644 KB Output is correct
19 Correct 3 ms 644 KB Output is correct
20 Correct 2 ms 644 KB Output is correct