记录详情

Wrong Answer

foo.c: In function 'max':
foo.c:6:25: warning: 'sizeof' on array function parameter 'c' will return size of 'int *' [-Wsizeof-array-argument]
    6 |         for(j=0;j<sizeof(c)/sizeof(c[0]);j++){
      |                         ^
foo.c:3:13: note: declared here
    3 | int max(int c[]){
      |         ~~~~^~~
foo.c: In function 'z':
foo.c:17:23: warning: 'sizeof' on array function parameter 'a' will return size of 'int *' [-Wsizeof-array-argument]
   17 |         int len=sizeof(a)/sizeof(a[0]);
      |                       ^
foo.c:15:11: note: declared here
   15 | int z(int a[]){
      |       ~~~~^~~
foo.c:19:13: warning: unused variable 't' [-Wunused-variable]
   19 |         int t;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB
#11 Accepted 2ms 256.0 KiB
#12 Accepted 1ms 256.0 KiB
#13 Accepted 2ms 380.0 KiB
#14 Accepted 2ms 256.0 KiB
#15 Accepted 1ms 256.0 KiB
#16 Accepted 1ms 256.0 KiB
#17 Accepted 2ms 256.0 KiB
#18 Accepted 1ms 256.0 KiB
#19 Accepted 1ms 256.0 KiB
#20 Accepted 1ms 256.0 KiB
#21 Accepted 2ms 256.0 KiB
#22 Accepted 1ms 256.0 KiB
#23 Accepted 2ms 256.0 KiB
#24 Accepted 2ms 256.0 KiB
#25 Accepted 2ms 256.0 KiB
#26 Accepted 2ms 256.0 KiB
#27 Accepted 1ms 256.0 KiB
#28 Accepted 1ms 256.0 KiB
#29 Accepted 2ms 256.0 KiB
#30 Accepted 1ms 256.0 KiB
#31 Wrong Answer Read 4861, expect 3439. 1ms 256.0 KiB
#32 Wrong Answer Read 4715, expect 4429. 1ms 256.0 KiB
#33 Wrong Answer Read 4979, expect 3297. 1ms 256.0 KiB
#34 Wrong Answer Read 790, expect 512. 1ms 256.0 KiB
#35 Wrong Answer Read 1256, expect 1238. 1ms 256.0 KiB
#36 Wrong Answer Read 5094, expect 4865. 0ms 256.0 KiB
#37 Wrong Answer Read 429, expect 407. 1ms 256.0 KiB
#38 Wrong Answer Read 5358, expect 4756. 0ms 256.0 KiB
#39 Wrong Answer Read 1949, expect 1836. 1ms 256.0 KiB
#40 Wrong Answer Read 1051, expect 765. 1ms 256.0 KiB
#41 Wrong Answer Read 4262, expect 3408. 1ms 256.0 KiB
#42 Wrong Answer Read 4102, expect 3098. 1ms 256.0 KiB
#43 Wrong Answer Read 5023, expect 3649. 1ms 256.0 KiB
#44 Wrong Answer Read 1626, expect 1306. 1ms 256.0 KiB
#45 Wrong Answer Read 4449, expect 3717. 1ms 256.0 KiB
#46 Wrong Answer Read 2546, expect 2126. 1ms 256.0 KiB
#47 Wrong Answer Read 1431, expect 1337. 1ms 256.0 KiB
#48 Wrong Answer Read 3197, expect 2456. 1ms 256.0 KiB
#49 Wrong Answer Read 2600, expect 1991. 1ms 256.0 KiB
#50 Wrong Answer Read 2826, expect 2379. 1ms 256.0 KiB
#51 Wrong Answer Read 2180, expect 1396. 1ms 256.0 KiB
#52 Wrong Answer Read 1425, expect 1380. 1ms 256.0 KiB
#53 Wrong Answer Read 4434, expect 3380. 1ms 256.0 KiB
#54 Wrong Answer Read 5568, expect 4804. 0ms 256.0 KiB
#55 Wrong Answer Read 4628, expect 4191. 1ms 256.0 KiB
#56 Wrong Answer Read 5187, expect 4141. 1ms 256.0 KiB
#57 Wrong Answer Read 3382, expect 3120. 1ms 256.0 KiB
#58 Wrong Answer Read 6788, expect 4693. 1ms 256.0 KiB
#59 Wrong Answer Read 3393, expect 2367. 1ms 256.0 KiB
#60 Wrong Answer Read 1307, expect 1183. 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P1389 Problem 1A. 中秋月饼
比赛
悬赏令第一周
语言
C
递交时间
2022-09-29 21:27:20
评测时间
2022-09-29 21:27:20
评测机
分数
60
总耗时
99ms
峰值内存
380.0 KiB