Currency Pairs

Given a mapping from currency to its value in USD (e.g. SGD: 0.73 means 1 SGD = 0.73 USD), output the exchange rates of all directed currency pairs (including USD, excluding a currency paired with i...

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: