记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:11: warning: too many arguments for format [-Wformat-extra-args]
     scanf("%d",&a,a<=100);
           ^~~~
foo.c:7:8: warning: too many arguments for format [-Wformat-extra-args]
  scanf("%d",&b,b<=a);
        ^~~~
foo.c:6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&a,a<=100);
     ^~~~~~~~~~~~~~~~~~~~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&b,b<=a);
  ^~~~~~~~~~~~~~~~~~~
foo.c:6:5: warning: 'a' is used uninitialized in this function [-Wuninitialized]
     scanf("%d",&a,a<=100);
     ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB

信息

递交者
类型
递交
比赛
2021年中北算法竞赛队招新测试
语言
C
递交时间
2021-10-24 15:51:20
评测时间
2021-10-24 15:51:20
评测机
分数
0
总耗时
3ms
峰值内存
256.0 KiB