记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:23:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   23 |   if(a[i]=max)
      |      ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 8, expect 2. 2ms 256.0 KiB
#2 Wrong Answer Read 8, expect 3. 2ms 256.0 KiB
#3 Wrong Answer Read 100, expect 11. 2ms 256.0 KiB
#4 Wrong Answer Read 100, expect 12. 2ms 256.0 KiB
#5 Wrong Answer Read 200, expect 13. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1026 C8 最大值的出现次数
语言
C
递交时间
2021-12-29 09:37:50
评测时间
2021-12-29 09:37:50
评测机
分数
0
总耗时
13ms
峰值内存
256.0 KiB