记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:6: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
  1<=a<=100;
      ^~
foo.c:7:3: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  1<=a<=100;
  ~^~~
foo.c:7:2: warning: statement with no effect [-Wunused-value]
  1<=a<=100;
  ^
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&a);
  ^~~~~~~~~~~~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%f %f %f %f %f %f %f %f %f %f %f %f %f",&b,&c,&d,&e,&f,&g,&h,&i,&j,&k,&l,&m,&n);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%f",&r);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Wrong Answer Read N, expect Y. 0ms 256.0 KiB
#3 Wrong Answer Read N, expect Y. 0ms 256.0 KiB
#4 Wrong Answer Read N, expect Y. 0ms 256.0 KiB
#5 Accepted 0ms 256.0 KiB

信息

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