Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

koulick424's blog

By koulick424, history, 3 months ago, In English,

Though many people have already provided amazing solutions to download the solutions of codeforces in a folder, but now, none seems to be working. Can anyone please provide a script so that I can download the solutions?

Read more »

 
 
 
 
  • Vote: I like it
  • -18
  • Vote: I do not like it

By koulick424, history, 4 months ago, In English,

The question is- We are given two integers L and R. We are required to determine the count of special numbers ranging in between L and R. If the binary representation of X contains a pattern 101, then X is called special number. Constraints- 1 ≤ L ≤ R ≤ 10^18

We have to print the total count of special numbers in the range [L,R]

Read more »

 
 
 
 
  • Vote: I like it
  • +4
  • Vote: I do not like it