What's for Lunch?
Given b choices of beverages, e choices of entrees, s choices of sides (take two different sides total) and d choices of dessert...
5年以上 前
解決済み
Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...
5年以上 前
解決済み
Create a constant offset.
Add a constant offset to an array.
Example
a = [1 3 5 9]
offset = 2
y = [3 5 7 11]
5年以上 前
解決済み
Datetime basics
Generate the datetime scalar representing the current date
5年以上 前
解決済み
ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...
5年以上 前
解決済み
Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list:
2 ABC, 3 DEF...
5年以上 前
解決済み
surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 ca...
Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...
6年弱 前
解決済み
iteration of N blank spot
we have N spot which can be blank o filled
calculate the number of iteration for these spots.
e.g. N=2
1- blank blank
2- bl...