mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
35 lines
402 B
JSON
35 lines
402 B
JSON
[
|
|
{
|
|
"input": [""],
|
|
"output": 0
|
|
},
|
|
{
|
|
"input": ["3"],
|
|
"output": 3
|
|
},
|
|
{
|
|
"input": ["3.5"],
|
|
"output": 3.5
|
|
},
|
|
{
|
|
"input": ["1 3 +"],
|
|
"output": 4
|
|
},
|
|
{
|
|
"input": ["1 3 *"],
|
|
"output": 3
|
|
},
|
|
{
|
|
"input": ["1 3 -"],
|
|
"output": -2
|
|
},
|
|
{
|
|
"input": ["4 2 /"],
|
|
"output": 2
|
|
},
|
|
{
|
|
"input": ["5 3 + 12 8 + * 10 /"],
|
|
"output": 16
|
|
}
|
|
]
|