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…
Problem Description XQ,one of the three Sailormoon girls,is usually playing mobile games on the class.Her favorite mobile game is called "The Princess In The Wall".Now she give you a problem about this game. Can you solve it?The following pictur…
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…
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.…
E - Palindromic Numbers Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Description A palindromic number or numeral palindrome is a 'symmetrical' number like 16461 that remains the same when its digits are reversed. In this…