MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Function main

Hackerrank_problems/Time_In_Words/solution.cpp:56–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56int main()
57{
58 ofstream fout(getenv("OUTPUT_PATH"));
59
60 int h;
61 cin >> h;
62 cin.ignore(numeric_limits<streamsize>::max(), '\n');
63
64 int m;
65 cin >> m;
66 cin.ignore(numeric_limits<streamsize>::max(), '\n');
67
68 string result = timeInWords(h, m);
69
70 fout << result << "\n";
71
72 fout.close();
73
74 return 0;
75}

Callers

nothing calls this directly

Calls 2

maxFunction · 0.85
timeInWordsFunction · 0.85

Tested by

no test coverage detected