# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1239864 | Jer | Bikeparking (EGOI24_bikeparking) | C++20 | 32 ms | 328 KiB |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int n;
ll k;
int main()
{
scanf("%d", &n);
for (int i = 0; i < 2 * n; i++)
scanf("%lld", &k);
printf("%lld\n", max(0LL, (ll)n * k - 2LL * k));
return 0;
}
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |