| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 356968 | 梁品毅 | 受欢迎度调查(survey) | C++ | Accepted | 100 | 58 MS | 640 KB | 211 | 2025-10-19 10:56:01 |
#include<bits/stdc++.h> using namespace std; int n,m,a[100000]; int main(){ cin>>n>>m; for(int i=0;i<m;i++){ cin>>a[i]; } sort(a,a+m); for(int i=0;i<m;i++){ cout<<a[i]<<' '; } return 0; }