记录详情

Runtime Error

foo.c: In function 'main':
foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d %d",xmin,xmax);
         ~^
foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
  scanf("%d %d",xmin,xmax);
            ~^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",xmin,xmax);
  ^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:2: warning: 'xmin' is used uninitialized in this function [-Wuninitialized]
  scanf("%d %d",xmin,xmax);
  ^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:2: warning: 'xmax' is used uninitialized in this function [-Wuninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 1ms 256.0 KiB
#3 Runtime Error Segmentation fault 0ms 256.0 KiB
#4 Runtime Error Segmentation fault 0ms 256.0 KiB
#5 Runtime Error Segmentation fault 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1090 xf2-3爸爸的爱
语言
C
递交时间
2021-08-06 13:59:27
评测时间
2021-08-06 13:59:27
评测机
分数
0
总耗时
4ms
峰值内存
256.0 KiB