记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:21:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d%d",x,n);
          ^
/in/foo.c:21:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
  scanf("%d%d",x,n);
            ^
/in/foo.c:21:2: warning: 'x' is used uninitialized in this function [-Wuninitialized]
  scanf("%d%d",x,n);
  ^~~~~~~~~~~~~~~~~
/in/foo.c:21:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 1ms 320.0 KiB
#2 Runtime Error 1ms 320.0 KiB
#3 Runtime Error 1ms 276.0 KiB
#4 Runtime Error 1ms 328.0 KiB
#5 Runtime Error 1ms 272.0 KiB

信息

递交者
类型
递交
题目
A11-1 高精度整数与常规整数的乘法
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C
递交时间
2023-11-11 21:50:01
评测时间
2023-11-11 21:50:01
评测机
分数
0
总耗时
7ms
峰值内存
328.0 KiB