摘要:
题面: Alice and Bob are trying to communicate through the internet. Just assume that there are N routers in the internet and they are numbered from 0 to 阅读全文
摘要:
题面: Last night you robbed a bank but couldn't escape and when you just got outside today, the police started chasing you. The city, where you live in, 阅读全文
摘要:
题面: You are given a 3D grid, which has dimensions X, Y and Z. Each of the X x Y x Z cells contains a light. Initially all lights are off. You will hav 阅读全文
摘要:
You are in a reality show, and the show is way too real that they threw into an island. Only two kinds of animals are in the island, the tigers and th 阅读全文
摘要:
Problem Description Acesrc is a famous tourist at Nanjing University second to none. During this summer holiday, he, along with Zhang and Liu, is goin 阅读全文
摘要:
Mr. Zstu and Mr. Hdu are taking a boring class , Mr. Zstu comes up with a problem to kill time, Mr. Hdu thinks it’s too easy, he solved it very quickl 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/888/E来源:牛客网 Gromah and LZR have entered the fifth level. Unlike the first four levels, they should do some move 阅读全文
摘要:
You are given an array a of size n, and q queries to it. There are queries of two types: 1 li ri — perform a cyclic shift of the segment [li, ri] to t 阅读全文
摘要:
Kakuro puzzle is played on a grid of "black" and "white" cells. Apart from the top row and leftmost column which are entirely black, the grid has some 阅读全文
摘要:
Recently Maxim has found an array of n integers, needed by no one. He immediately come up with idea of changing it: he invented positive integer x and 阅读全文