Submission #57244

#TimeUsernameProblemLanguageResultExecution timeMemory
57244babo창문 (kriii4_C)C++14
100 / 100
4 ms620 KiB
#include <bits/stdc++.h> #define L long long #define mod 1000000007 using namespace std; int main() { L n,m; scanf("%lld %lld",&n,&m); printf("%lld\n",(((n+2)%mod)*((m+2)%mod))%mod); }

Compilation message (stderr)

C.cpp: In function 'int main()':
C.cpp:10: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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...