Problem There are N schedules, the i-th schedule has start time si and end time ei (1 <...
Problem There are N schedules, the i-th schedule has start time si and end time ei (1 <...
Problem You are given a undirected graph with n nodes (numbered from 1 to n) and m edge...
Problem An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical t...
Problem You are a member of the space station engineering team, and are assigned a task...
Problem You heart broke into pieces.My string broke into pieces.But you will recover on...
Problem EditorEditor-Problem.png Sample Input 8I 2I -1I 1Q 3LDRQ 2 Sample Output 23 Hin...
Problem A lattice point is an ordered pair (x, y) where x and y are both integers. Give...
Problem It's time for music! A lot of popular musicians are invited to join us in the m...
Problem With the help of the Ares L, the Emperor of Law and some stars of the future, G...
Problem MMM got a big big big cake, and invited all her M friends to eat the cake toget...
Problem The new semester begins! Different kinds of student societies are all trying to...
Problem One of the secret chambers in Hogwarts is full of philosopher’s stones. The flo...
Problem Joe works in a maze. Unfortunately, portions of the maze have caught on fire, a...
Problem You are trapped in a 3D dungeon and need to find the quickest way out! The dung...
Problem 定義一個二維數(shù)組:int maze[5][5] = {0, 1, 0, 0, 0,0, 1, 0, 1, 0,0, 0, 0, 0, 0,0, 1, 1, 1...
Problem Each New Year Timofey and his friends cut down a tree of n vertices and bring i...
Problem A number of cities are connected by a network of highways. Each highway is bidi...