| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1369783 | turkeyorz | Gift Boxes (EGOI25_giftboxes) | C++20 | 19 ms | 2372 KiB |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve(int tc) {
int t, n;
cin>>t>>n;
vector<int> a(n);
for(auto &i : a) {
cin>>i;
}
cout<<n / 2<<' '<<n - 1<<'\n';
}
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
// freopen("problem.in", "r", stdin);
// freopen("problem.out", "w", stdout);
int t = 1;
// cin >> t;
for (int i = 1; i <= t; ++i) {
solve(t - i);
}
return 0;
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
