记录详情

Wrong Answer

foo.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int]
    5 | pd(int n)
      | ^~
foo.c: In function 'main':
foo.c:58:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=]
   58 |                 scanf("%d",&a[i]);
      |                        ~^  ~~~~~
      |                         |  |
      |                         |  char *
      |                         int *
      |                        %hhd
foo.c:62:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=]
   62 |                 scanf("%d",&b[i]);
      |                        ~^  ~~~~~
      |                         |  |
      |                         |  char *
      |                         int *
      |                        %hhd
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Wrong Answer Read 3, expect 7. 2ms 284.0 KiB
#3 Wrong Answer Read 4, expect 12. 1ms 284.0 KiB
#4 Wrong Answer Read 2, expect 12. 2ms 284.0 KiB
#5 Accepted 1ms 284.0 KiB

信息

递交者
类型
递交
题目
A9-1 数组中的素数个数
比赛
2023年新生赛(第三场)
语言
C
递交时间
2023-09-09 20:20:37
评测时间
2023-09-09 20:20:37
评测机
分数
40
总耗时
10ms
峰值内存
284.0 KiB