MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

Trees/burningTree.cpp:159–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157};
158
159int main() {
160 int t;
161 cin;
162 while (t--) {
163 string s;
164 getline(cin, s);
165 Node *root = buildTree(s);
166
167 int target;
168 cin >> target;
169 Solution ob;
170 cout << ob.minTime(root, target) << endl;
171 }
172 return 0;
173}
174
175

Callers

nothing calls this directly

Calls 2

minTimeMethod · 0.80
buildTreeFunction · 0.70

Tested by

no test coverage detected