Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109447 胥博雯 08三个数排序 C++ Compile Error 0 MS 0 KB 308 2025-02-09 09:19:09

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=b; c=t; } if(b<c){ x=b; b=b; c=t; } 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;
           ^