Files
Leetcode/150. Evaluate Reverse Polish Notation/Program.cs
2024-01-31 00:49:39 +03:00

11 lines
304 B
C#

// See https://aka.ms/new-console-template for more information
using _150._Evaluate_Reverse_Polish_Notation;
string[] arr = ["10", "1", "1", "2", "+", "+", "+"];
var sol = new Solution();
int n = 100000;
while(n-- > 0)
Console.WriteLine(sol.EvalRPN(["10", "1", "1", "2", "+", "+", "+"]));