摘要:
DescriptionYou're in space.You want to get home.There are asteroids.You don't want to hit them.InputInput to this problem will consist of a (non-empty... 阅读全文
摘要:
DescriptionParentheses BalanceYou are given a string consisting of parentheses()and[]. A string of this type is said to becorrect:(a)if it is the empt... 阅读全文
摘要:
DescriptionStandard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features i... 阅读全文
摘要:
DescriptionMine sweeper is a very popular small game in Windows operating system. The object of the game is to find mines, and mark them out. You mark... 阅读全文
摘要:
Description求A^B的最后三位数表示的整数。说明:A^B的含义是“A的B次方”Input输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1 2 3 int main() 4 { 5 int a, b, sum; 6 while (scanf("%d%d"... 阅读全文