21 lines
437 B
C++
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;
|
||
|
|
}
|