记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:26:24: warning: division 'sizeof (int *) / sizeof (int)' does not compute the number of array elements [-Wsizeof-pointer-div]
   26 |     int sz = sizeof(a) / sizeof(a[0]);
      |                        ^
foo.c:23:10: note: first 'sizeof' operand was declared here
   23 |     int* a;
      |          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1, expect 3. 1ms 200.0 KiB
#2 Wrong Answer Read -1, expect 4. 1ms 284.0 KiB
#3 Accepted 2ms 200.0 KiB
#4 Wrong Answer Read -1, expect 2. 1ms 284.0 KiB
#5 Wrong Answer Read -1, expect 5. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
A7-4 数组的查找函数
比赛
2023 程序设计与竞赛(作业4:遗失的日子)
语言
C
递交时间
2023-10-05 14:24:50
评测时间
2023-10-05 14:24:50
评测机
分数
20
总耗时
9ms
峰值内存
284.0 KiB