- 博客(2)
- 收藏
- 关注
原创 XORwice
题目: In order to celebrate Twice’s 5th anniversary, Tzuyu and Sana decided to play a game. Tzuyu gave Sana two integers a and b and a really important quest. In order to complete the quest, Sana has to output the smallest possible value of (a⊕x) + (b⊕x) for
2020-11-08 20:21:05
102
原创 B. Make Them Equal
题目: You are given an array a consisting of n positive integers, numbered from 1 to n. You can perform the following operation no more than 3n times: choose three integers i, j and x (1≤i,j≤n; 0≤x≤1e9); assign ai:=ai−x⋅i, aj:=aj+x⋅i. After each operation, a
2020-10-30 16:06:30
115
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人