摘要:
ChessboardMagnus decided to play a classic chess game. Though what he saw in his locker shocked him! His favourite chessboard got brok... 阅读全文
摘要:
Oil DepositsThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one ... 阅读全文
摘要:
Lecture Sleep Your friend Mishka and you attend a calculus lecture. Lecture lasts n minutes. Lecturer tells ai theorems during the i-t... 阅读全文
摘要:
TetrisYou are given a following process.There is a platform with n columns. 1 × 1 squares are appearing one after another in some colu... 阅读全文
摘要:
括号配对问题时间限制:3000 ms | 内存限制:65535 KB难度:3描述现在,有一行括号序列,请你检查这行括号是否配对。输入第一行输入一个数N(0#include #include #include char a[10000], b[10000];int ... 阅读全文
摘要:
房间安排时间限制:3000 ms | 内存限制:65535 KB难度:2描述2010年上海世界博览会(Expo2010),是第41届世界博览会。于2010年5月1日至10月31日期间,在中国上海市举行。本次世博会也是由中国举办的首届世界博览会。上海世博会以“城市,... 阅读全文
摘要:
Farmer John is assigning some of his N (1 #include using namespace std;int t, n;int a[25010][2];int z[25010];int main(){ while (~scanf... 阅读全文
摘要:
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be f... 阅读全文
摘要:
Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 #inclu... 阅读全文
摘要:
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. F... 阅读全文