A=B
Not enough ratings
k-12 Binary to Roman
   
Award
Favorite
Favorited
Unfavorite
Tags: level
File Size
Posted
Updated
424.914 KB
7 Apr @ 10:10pm
12 Apr @ 5:17pm
3 Change Notes ( view )

Subscribe to download
k-12 Binary to Roman

In 1 collection by カズエイ
kazuei's problems
12 items
Description
Input: A binary number.
Output: Convert Input to Roman numerals if Input is less than 4000. Otherwise return error.
Constraint: 1 <= Input number <= 10000
You may not use keywords in this level.

<日本語訳>
k-12 ローマ数字 2
入力: 2進数
出力: 入力値が4000より小さければローマ数字に変換する。そうでなければ「error」を出力する。
制約: 1 <= 入力値 <= 10000
この課題ではキーワードは使えない。