提交时间:2023-09-09 10:26:10
运行 ID: 101550
#include <iostream> #include <algorithm> using namespace std; int main() { double lst[4]; double a,b,c; cin >> a >> b >> c; lst[0] = a; lst[1] = b; lst[2] = c; sort(lst,lst+3); cout << lst[0] << ' ' << lst[1] << ' ' << lst[2]; }