A=B
Không đủ lượt đánh giá
k-11 Decimal to Roman
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Nhãn: level
Kích cỡ file
Đã đăng
Đã cập nhật
340.102 KB
7 Thg04 @ 10:10pm
12 Thg04 @ 5:17pm
3 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
k-11 Decimal to Roman

Trong 1 bộ sưu tập tạo bởi カズエイ
kazuei's problems
12 vật phẩm
Mô tả
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
この課題ではキーワードは使えない。