记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
  scanf("%d %d,&x1,&x2");
          ^
/in/foo.c:6:13: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
  scanf("%d %d,&x1,&x2");
             ^
/in/foo.c:7:4: warning: 'x1' is used uninitialized in this function [-Wuninitialized]
  y1=x1+x2;
  ~~^~~~~~
/in/foo.c:7:4: warning: 'x2' is used uninitialized in this function [-Wuninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 1ms 324.0 KiB
#2 Runtime Error 1ms 336.0 KiB
#3 Runtime Error 1ms 316.0 KiB
#4 Runtime Error 1ms 360.0 KiB
#5 Runtime Error 1ms 264.0 KiB

信息

递交者
类型
递交
比赛
程序设计强化(第一周)
语言
C
递交时间
2024-02-27 14:05:55
评测时间
2024-02-27 14:05:55
评测机
分数
0
总耗时
6ms
峰值内存
360.0 KiB