Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",n);
              ^
/in/foo.cc:8:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",a[i]),printf("%d\n",a[i]);
                  ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 420.0 KiB
#2 Runtime Error 1ms 416.0 KiB
#3 Runtime Error 1ms 416.0 KiB
#4 Runtime Error 1ms 400.0 KiB
#5 Runtime Error 1ms 356.0 KiB
#6 Runtime Error 1ms 424.0 KiB

信息

递交者
类型
递交
题目
P1849 宇宙微波接收器
语言
C++
递交时间
2024-08-01 20:37:15
评测时间
2024-08-01 20:37:15
评测机
分数
0
总耗时
11ms
峰值内存
424.0 KiB