Convert Multilingual Number Words to Integers

Problem

Convert a nonnegative integer written in Chinese, English, or Japanese into its decimal representation.

A predefined mapping from number words to values is allowed, such as one → 1, `十 →...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: