记录详情

Compile Error

foo.c: In function 'prime':
foo.c:7:11: error: stray '\357' in program
    7 |   if (x % (n/2) == 0)
      |           ^
foo.c:7:12: error: stray '\274' in program
    7 |   if (x % (n/2) == 0)
      |            ^
foo.c:7:13: error: stray '\210' in program
    7 |   if (x % (n/2) == 0)
      |             ^
foo.c:7:17: error: stray '\357' in program
    7 |   if (x % (n/2) == 0)
      |                 ^
foo.c:7:18: error: stray '\274' in program
    7 |   if (x % (n/2) == 0)
      |                  ^
foo.c:7:19: error: stray '\211' in program
    7 |   if (x % (n/2) == 0)
      |                   ^
foo.c: In function 'main':
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   15 |  scanf("%d", &i);
      |  ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
比赛
中北 计算机2021级专业修读指导(3)
语言
C
递交时间
2021-12-16 19:07:17
评测时间
2021-12-16 19:07:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes