记录详情

Compile Error

/in/foo.cc:9:20: error: stray '\357' in program
    printf("%d %d\n",b,a);
                    ^
/in/foo.cc:9:21: error: stray '\274' in program
    printf("%d %d\n",b,a);
                     ^
/in/foo.cc:9:22: error: stray '\214' in program
    printf("%d %d\n",b,a);
                      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:25: warning: too many arguments for format [-Wformat-extra-args]
  scanf("%d&d&d",&a,&b,&c);
                         ^
/in/foo.cc:9:23: error: expected ')' before 'b'
    printf("%d %d\n",b,a);
                       ^
/in/foo.cc:9:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
    printf("%d %d\n",b,a);
                          ^
/in/foo.cc:13:26: warning: too many arguments for format [-Wformat-extra-args]
     printf("&d &d\n", c,a);
                          ^
/in/foo.cc:15:26: warning: too many arguments for format [-Wformat-extra-args]
     printf("&d &d\n", a,c);
                          ^
/in/foo.cc:22:26: warning: too many arguments for format [-Wformat-extra-args]
     printf("&d &d\n", c,b);
                          ^
/in/foo.cc:24:26: warning: too many arguments for format [-Wformat-extra-args]
     printf("&d &d\n", b,c);
                          ^

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
泰院2401程序设计基础作业赛第一场(牛刀小试)
语言
C++
递交时间
2024-10-21 17:33:13
评测时间
2024-10-21 17:33:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes