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

Function main

Hackerrank_problems/Sequence Equation/solution.cpp:46–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int main(){
47 int n, inp;
48 vector<int> inputs;
49
50 cin>>n;
51 for(int i = 0;i<n;i++){
52 cin>>inp;
53 inputs.push_back(inp);
54 }
55
56 vector<int> ans = permutationEquation(inputs, n);
57 for(int i = 0;i<n;i++){
58 cout<<ans[i]<<endl;
59 }
60
61 return 0;
62}

Callers

nothing calls this directly

Calls 1

permutationEquationFunction · 0.70

Tested by

no test coverage detected