Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87632 Kevin 08三个数排序 C++ Compile Error 0 MS 0 KB 251 2024-08-10 21:52:45

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,t; cin>>a>>b>>c; if(a<b){ t=a; a=b; b=t; } if(b<c){ t=b; b=c; c=t; } if(a<b){ t=a; a=b; b=t; } cout<<a<<" "<<b<<" "<<c return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:23:2: error: expected ';' before 'return'
  return 0;
  ^