A=B
Ikke nok vurderinger
k-11 Decimal to Roman
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Merkelapper: level
Filstørrelse
Lagt ut
Oppdatert
340.102 KB
7. apr. kl. 22.10
12. apr. kl. 17.17
3 endringslogger ( vis )

Abonner for å laste ned
k-11 Decimal to Roman

I 1 samling av カズエイ
kazuei's problems
12 gjenstander
Beskrivelse
Input: A decimal 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-11 ローマ数字 1
入力: 10進数
出力: 入力値が4000より小さければローマ数字に変換する。そうでなければ「error」を出力する。
制約: 1 <= 入力値 <= 10000
この課題ではキーワードは使えない。