think-cell Round 1
A. Maximise The Score
题意:给出2n个数,每次选两个取较小值加到分数里,分数最大为多少。
思路:排序,奇数位和。
AC code:
void solve() {cin >> n;int ans 0;int a[N];for…
EXCEL使用VBA一键批量转换成PDF 上图是给定转换路径
Sub 按钮1_Click()
Dim a(1 To 1000) As String
Dim a2 As String
Dim myfile As String
Dim wb As Workbook
a2 Trim(Range("a2"))myfile Dir(a2 & "\" & "*.xls")k 0Do While m…