Runtime Error

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

信息

递交者
类型
递交
题目
#号直角三角形
语言
C++
递交时间
2017-10-06 14:33:17
评测时间
2017-10-06 14:33:17
评测机
分数
0
总耗时
3ms
峰值内存
380.0 KiB