# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
849157 | tch1cherin | Boat (APIO16_boat) | C++17 | 1822 ms | 7156 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#pragma GCC optimize("Ofast,unroll-loops")
#pragma GCC target("avx2")
#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
int inverse(int x) {
int base = x, power = MOD - 2;
int result = 1;
while (power > 0) {
if (power & 1) {
result = 1LL * result * base % MOD;
}
base = 1LL * base * base % MOD;
power /= 2;
}
return result;
}
void norm(int& X) {
X -= X >= MOD ? MOD : 0;
}
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
int N;
cin >> N;
vector<int> A(N), B(N);
vector<int> points;
# | 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... |