摘要:
Berserk RookAs you may know,chessis an ancient game for which almost everyone has at least a basic understanding of the rules. Chess is a two-player s... 阅读全文
摘要:
Square spiralNikola picks up a strange circuit board. All of its elements are connected in a spiral and it is possible to connect the neighboring elem... 阅读全文
摘要:
Friendly numberLong numbers can be made to look nicer, so let’s write some code to do just that.You should write a function for converting anumberusin... 阅读全文
摘要:
The square chestSophia pressed the button in front of her, slamming her fist against it. The door rumbled and appeared to do nothing.“Oh man, that’s n... 阅读全文
摘要:
Network AttackNicola regularly inspects the local networks for security issues. He uses a smart and aggressive program which takes control of computer... 阅读全文
摘要:
Morse Clock"di-dah di-di-di-dit di-dah-dah di-dah-dah-dah dah-di-dit dah-di-di-dah", sound of Morszelizer clanked out loud."What're you doing?" Nikola... 阅读全文
摘要:
The Angles of a TriangleYou are given the lengths for each side on a triangle. You need to find all three angles for this triangle. If the given side ... 阅读全文
摘要:
Weekend counterSofia has given you a schedule and two dates and told you she needs help planning her weekends. She has asked you to count each day of ... 阅读全文
摘要:
Transposed MatrixIn linear algebra, the transpose of a matrixAis another matrixAT(also writtenA′,Atr,tAorAt) created by any one of the following equiv... 阅读全文
摘要:
Digit StackIn computer science, a stack is a particular kind of data type or collection in which the principal operations in the collection are the ad... 阅读全文