A. 2023.07.07-oppo秋招-第一题-快速序列和

    Type: Default 2000ms 256MiB

2023.07.07-oppo秋招-第一题-快速序列和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

现有一个长度为 nn 序列 aa,然后给出kk个操作 (u,v)(u,v) :使 au=va_u=v

每次操作后,快速求出修改之后的序列和。

秋招模拟赛第33场(会员专属)|2023.07.07-oppo提前批

Not Attended
Status
Done
Rule
IOI
Problem
3
Start at
2023-7-15 19:00
End at
2023-7-15 20:30
Duration
1.5 hour(s)
Host
Partic.
23