Wrong Answer

foo.c: In function 'main':
foo.c:5:11: warning: variable 'y' set but not used [-Wunused-but-set-variable]
     int x,y;
           ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&x);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Wrong Answer Read 10, expect 34. 0ms 256.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Wrong Answer Read 30, expect 170. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1021 分段函数
语言
C
递交时间
2021-09-28 20:20:07
评测时间
2021-09-28 20:20:07
评测机
分数
60
总耗时
4ms
峰值内存
256.0 KiB