Submission #19862

#TimeUsernameProblemLanguageResultExecution timeMemory
19862inspire12창문 (kriii4_C)C11
Compilation error
0 ms0 KiB
#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); }

Compilation message (stderr)

C.c: In function ‘main’:
C.c:7:2: warning: implicit declaration of function ‘scanf_s’ [-Wimplicit-function-declaration]
  scanf_s("%lld %lld", &h, &w);
  ^
C.c:9:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/tmp/cckGVyAb.o: In function `main':
C.c:(.text.startup+0x14): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status