记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |            ~^            ~
      |             |            |
      |             int*         int
/in/foo.cc:7:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |              ~^            ~
      |               |            |
      |               int*         int
/in/foo.cc:7:17: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |                ~^            ~
      |                 |            |
      |                 int*         int
/in/foo.cc:7:19: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |                  ~^            ~
      |                   |            |
      |                   int*         int
/in/foo.cc:7:21: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |                    ~^            ~
      |                     |            |
      |                     int*         int
/in/foo.cc:7:23: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'int' [-Wformat=]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |                      ~^            ~
      |                       |            |
      |                       int*         int
/in/foo.cc:7:10: warning: 'a' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:9: note: 'a' was declared here
    6 |     int a,b,c,d,e,f;
      |         ^
/in/foo.cc:7:10: warning: 'b' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:11: note: 'b' was declared here
    6 |     int a,b,c,d,e,f;
      |           ^
/in/foo.cc:7:10: warning: 'c' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:13: note: 'c' was declared here
    6 |     int a,b,c,d,e,f;
      |             ^
/in/foo.cc:7:10: warning: 'd' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:15: note: 'd' was declared here
    6 |     int a,b,c,d,e,f;
      |               ^
/in/foo.cc:7:10: warning: 'e' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:17: note: 'e' was declared here
    6 |     int a,b,c,d,e,f;
      |                 ^
/in/foo.cc:7:10: warning: 'f' is used uninitialized [-Wuninitialized]
    7 |     scanf("%d%d%d%d%d%d",a,b,c,d,e,f);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:6:19: note: 'f' was declared here
    6 |     int a,b,c,d,e,f;
      |                   ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 540.0 KiB
#2 Runtime Error 2ms 476.0 KiB
#3 Runtime Error 2ms 532.0 KiB
#4 Runtime Error 2ms 500.0 KiB
#5 Runtime Error 2ms 536.0 KiB
#6 Runtime Error 2ms 532.0 KiB
#7 Runtime Error 2ms 532.0 KiB
#8 Runtime Error 2ms 536.0 KiB
#9 Runtime Error 2ms 532.0 KiB
#10 Runtime Error 2ms 532.0 KiB

信息

递交者
类型
递交
题目
P1029 对齐输出
语言
C++
递交时间
2026-11-30 09:37:29
评测时间
2026-11-30 09:37:29
评测机
分数
0
总耗时
23ms
峰值内存
540.0 KiB