Files
python/TangDou/CSP-J/MKX_B/sort.cpp
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

21 lines
437 B
C++

#include <bits/stdc++.h>
using namespace std;
int n,w;
const int N=610;
vector<int>f;
struct Node{
int id,value;
bool operator<(const Node &t) const {
if(value==t.value)return id<t.id;
return value < t.value;
}
}a[N];
vector<Node>f;
int q,n;
int main(){
freopen("sort.in", "r", stdin);
freopen("sort.out", "w", stdout);
cin.tie(0), ios::sync_with_stdio(false);
return 0;
}