记录详情

Compile Error

foo.c: In function 'issuperprime':
foo.c:15:40: warning: statement with no effect [-Wunused-value]
   15 |                 if (isprime(x / 10)) x % 10;
      |                                      ~~^~~~
foo.c: In function 'main':
foo.c:23:9: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   23 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
/nix/store/9n9gjvzci75gp2sh1c4rh626dhizqynl-binutils-2.39/bin/ld: /tmp/ccvkyNLg.o: in function `main':
foo.c:(.text.startup+0x11): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A5-1 超级素数判断
语言
C
递交时间
2023-07-05 12:36:04
评测时间
2023-07-05 12:36:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes