Post Office Time Limit: 1000ms Memory Limit: 10000KB This problem will be judged on PKU. Original ID: 116064-bit integer IO format: %lld Java class name: Main There is a straight highway with villages alongside the highway. The highway is re…
Water Tree Time Limit: 4000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 343D64-bit integer IO format: %I64d Java class name: (Any) Mad scientist Mike has constructed a rooted tree, which consists of n verti…
Opening Portals Time Limit: 2000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 196E64-bit integer IO format: %I64d Java class name: (Any) Pavel plays a famous computer game. A player is responsible for a wh…
Dancing Lessons Time Limit: 5000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 45C64-bit integer IO format: %I64d Java class name: (Any) There are n people taking dancing lessons. Every person is characterize…
B. Infinite Maze time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output We've got a rectangular n × m-cell maze. Each cell is either passable, or is a wall (impassable). A little boy found the…
Double Profiles Time Limit: 3000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 154C64-bit integer IO format: %I64d Java class name: (Any) You have been offered a job in a company developing a large social net…
Hometask Time Limit: 2000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 154A64-bit integer IO format: %I64d Java class name: (Any) Sergey attends lessons of the N-ish language. Each lesson he receives a homet…
An interesting mobile game Time Limit: 1000ms Memory Limit: 32768KB This problem will be judged on HDU. Original ID: 329564-bit integer IO format: %I64d Java class name: Main XQ,one of the three Sailormoon girls,is usually playing mobile games…
Colliders Time Limit: 2000ms Memory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 155D64-bit integer IO format: %I64d Java class name: (Any) By 2312 there were n Large Hadron Colliders in the inhabited part of the uni…
C - Design the city Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Description Cerror is the mayor of city HangZhou. As you may know, the traffic system of this city is so terrible, that there are traffic jams everywhere.…