记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:22: error: 'scanf' was not declared in this scope
  scanf("%d%d%d",a,b,c);
                      ^
/in/foo.cc:7:36: error: 'printf' was not declared in this scope
          printf("%d%d%d\n",&a,&b,&c);  
                                    ^
/in/foo.cc:10:39: error: 'printf' was not declared in this scope
             printf("%d%d%d\n",&a,&c,&b);
                                       ^
/in/foo.cc:12:33: error: 'printf' was not declared in this scope
       printf("%d%d%d\n",&a,&b,&c);  
                                 ^
/in/foo.cc:15:38: error: 'printf' was not declared in this scope
            printf("%d%d%d\n",&b,&a,&c);  
                                      ^
/in/foo.cc:18:41: error: 'printf' was not declared in this scope
               printf("%d%d%d\n",&a,&b,&c);
                                         ^
/in/foo.cc:20:33: error: 'printf' was not declared in this scope
       printf("%d%d%d\n",&c,&b,&a);  
                                 ^
/in/foo.cc:21:13: error: expected '}' at end of input
     return 0;
             ^

信息

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