/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:14: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",n);
              ^
/in/foo.cc:10:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",a[i]);
                  ^
/in/foo.cc:7:15: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  scanf("%d",n);
               ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 384.0 KiB

信息

递交者
类型
自测
题目
P1923 漫长的等待
语言
C++
递交时间
2018-06-20 15:48:47
评测时间
2018-06-20 15:48:49
评测机
分数
0
总耗时
2ms
峰值内存
384.0 KiB