counting-bits 1.0.0
Counting Bits
Loading...
Searching...
No Matches
main.cpp File Reference
#include <bits/stdc++.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Data Structures

class  Solution
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 19 of file main.cpp.

20{
21 int n = 5;
22 vector<int> output = Solution().countBits(n);
23 for (int el : output)
24 cout << el << " ";
25 cout << endl;
26 return 0;
27}
vector< int > countBits(int n)
Definition main.cpp:8

References Solution::countBits().