MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / to_str

Method to_str

679. 24 Game/Solution.cpp:83–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 string to_str(Ops op) {
84 switch (op) {
85 case Add:
86 return "Add ";
87 case Minus:
88 return "Minus ";
89 case Mul:
90 return "Mul ";
91 case Div:
92 return "Div ";
93 default:
94 return "Not ";
95 }
96 }
97};
98
99int main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected