This commit is contained in:
Your Name committed 2026-10-31 23:34:37 +08:00
1 parent 8b21377d1f
commit c9a42541c4
2 files changed
+14 -1

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ long long check(long long now, int tot) {
}
int main() {
freopen("crystal.in", "r", stdin);
// freopen("crystal.out", "w", stdout);
freopen("crystal.out", "w", stdout);
scanf("%d%lld", &n, &m);
for(int i = 1; i <= n; ++i) scanf("%lld", &a[i]);
sort(a + 1, a + n + 1);