Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
102059 陈志恒 三实数排序 C++ 解答错误 75 0 MS 244 KB 247 2023-09-12 13:20:04

Tests(6/8):


#include<bits/stdc++.h> using namespace std; priority_queue<int,vector<int>,greater<int> >q; int main(){ int a,b,c; cin>>a>>b>>c; q.push(a); q.push(b); q.push(c); for(int i=1;i<=3;i++) {cout<<q.top()<<" ";q.pop();} return 0; }


测评信息: