1. Trang chủ
  2. » Tất cả

Microsoft Word - northern.docx

17 1 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Microsoft Word northern docx The 2016 ACM ICPC Vietnam Northern Programming Contest Page 1 of 17 The problem sets consist of 11 problems Problem A Difficult math Problem B Palindrome substrings Proble[.]

The 2016 ACM ICPC Vietnam Northern Programming Contest The problem sets consist of 11 problems: Problem A Difficult math Problem B Palindrome substrings Problem C Lights chain Problem D Upgrade planning Problem E Connecting points Problem F Memorized lookalike cards Problem G Optimal division Problem H Beautiful trails Problem I Festivals Problem J Pokemon Go Level Problem K Missing mutex Notes: Contestants should use standard input and output Page of 17 The 2016 ACM ICPC Vietnam Northern Programming Contest Problem A: Difficult math Given two integer 𝑁 and 𝐾, and a sequence 𝑎 with 𝑁 numbers: 𝑎$ , 𝑎& , … , 𝑎( -… +, Let 𝑆 = 𝑎$ …-/ ) -/ = 𝑎$ (+, Your task is to calculate 𝑆 mod 𝐾 Input The input starts with the number of test - 𝑇 (𝑇

Ngày đăng: 31/12/2022, 17:27

Xem thêm:

w