摘要:
玉 図のように二股に分かれている容器があります。1 から 10 までの番号が付けられた10 個の玉を容器の開口部 A から落とし、左の筒 B か右の筒 C に玉を入れます。板 D は支点 E を中心に左右に回転できるので、板 D を動かすことで筒 B と筒 C のどちらに入れるか決めることができます 阅读全文
摘要:
Red and Black Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 40685 Accepted: 22079 Description There is a rectangular room, covered with s 阅读全文
摘要:
Math.ceil() The Math.ceil() function returns the smallest integer greater than or equal to a given number. console.log(Math.ceil(.95)); // expected ou 阅读全文
摘要:
string.prototype.trim() The trim() method removes whitespace from both ends of a string. Whitespace in this context is all the whitespace characters ( 阅读全文
摘要:
The map of Berland is a rectangle of the size n × m, which consists of cells of size 1 × 1. Each cell is either land or water. The map is surrounded b 阅读全文
摘要:
For each list of words, output a line with each word reversed without changing the order of the words. This problem contains multiple test cases! The 阅读全文
摘要:
Prime Number Definition An integer greater than one is called a prime number if its only positive divisors (factors) are one and itself. For instance, 阅读全文
摘要:
People stopped moving discs from peg to peg after they know the number of steps needed to complete the entire task. But on the other hand, they didn't 阅读全文
摘要:
This database contains an incomplete list of box office hits and their release year. In this challenge, you're going to get the results back out of th 阅读全文