A + B Queries
시간 제한1초메모리 제한2048 MB
두 배열과 인덱스 쌍이 주어질 때 각 질의에 대해 A[i] + B[j]를 출력한다.
문제
The Quechuas welcome you to IOI 2025 with a special gift: two arrays, and , each of length . The elements in both arrays are indexed from to .
To ensure that you are taking good care of their gift, they will ask you questions, one at a time. Each question consists of two indices, and , and asks: What is the sum of and ?
제한
- for each such that .
- in each question.
예제
이 문제는 공개된 예제가 없습니다.