eddington专题

1060. 爱丁顿数(25) PAT乙级1117. Eddington Number(25) PAT甲级

[甲级传送门](https://www.patest.cn/contests/pat-a-practise/1117 ) 乙级传送门 将所有数从大到小排序,从左往后数,当第i个数小于等于i时满足要求 #include<iostream>#include<algorithm>using namespace std;#define MAX_N 100100int N;int a[MAX_

PAT_A 1117. Eddington Number(25)

1117. Eddington Number(25) British astronomer Eddington liked to ride a bike. It is said that in order to show off his skill, he has even defined an “Eddington number”, E – that is, the maximum integ