首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
1680专题
HSACM 1680 能量项链
1680: 能量项链 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 39 Solved: 13 Scores: 90.11 [ Submit][ Status][ BBS] Description 在Mars星球上,每个Mars人都随身佩带着一串能量项链。在项链上有 N颗能量珠。能量珠是一颗有头标记与尾标
阅读更多...
1680. Concatenation of Consecutive Binary Numbers
题目: Given an integer n, return the decimal value of the binary string formed by concatenating the binary representations of 1 to n in order, modulo 109 + 7. Example 1: Input: n = 1Output: 1Exp
阅读更多...