Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo314 committed Feb 12, 2024
1 parent 584587e commit ab413bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/atcoder-abc254-f.text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ int main(void) {
int N, Q;
std::cin >> N >> Q;
std::vector<int> A(N), B(N), dA, dB;
for (size_t i = 0; i < N; i++) {
std::cin >> A[i];
for (int& a : A) {
std::cin >> a;
}
for (size_t i = 0; i < N; i++) {
std::cin >> B[i];
for (int& b : B) {
std::cin >> b;
}
dA.reserve(N - 1);
dB.reserve(N - 1);
for (size_t i = 0; i < N - 1; i++) {
for (int i = 0; i < N - 1; i++) {
dA.push_back(A[i + 1] - A[i]);
dB.push_back(B[i + 1] - B[i]);
}
Expand Down

0 comments on commit ab413bb

Please sign in to comment.