Skip to content

Raj-8/decimalToBinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

decimalToBinary

string DecimalToBinary(ll num) { string str; if(num==0) return 0; while(num) { if(num & 1) str+='1'; else str+='0'; num>>=1; }
string s = str; reverse(all(s)); return s; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published