check-if-number-is-a-sum-of-powers-of-three 1.0.0
Check if Number is a Sum of Powers of Three
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 21 of file main.cpp.

22{
23 cout << "output: " << Solution().checkPowersOfThree(12) <<'\n';
24 return 0;
25}
bool checkPowersOfThree(int n)
Definition main.cpp:8

References Solution::checkPowersOfThree().