Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109453 于铁林 08三个数排序 C++ Compile Error 0 MS 0 KB 340 2025-02-09 09:25:14

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,x=0; cin>>a>>b>>c; if(a<b){ x=a; a=b; b=t; } if(a<c){ x=a; a=c; c=t; } if(b<c){ x=b; b=c; c=t; } cout<<a<<" "<<b<<" "<<c<<" "endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:11: error: 't' was not declared in this scope
         b=t;
           ^
Main.cc:14:11: error: 't' was not declared in this scope
         c=t;
           ^
Main.cc:19:11: error: 't' was not declared in this scope
         c=t;
           ^
Main.cc:21:30: error: unable to find string literal operator 'operator""endl' with 'const char [2]', 'long unsigned int' arguments
     cout<