{"code":"cses1617","name":"CSES - Bit Strings | Xâu nhị phân","description":"Lần này bài tập bạn được giao là: hãy tính số lượng dãy bit có độ dài là $n$.\r\n\r\nVí dụ: nếu $n = 3$, thì câu trả lời đúng lẽ là $8$, vì các dãy bit thoả mãn là `000`, `001`, `010`, `011`, `100`, `101`, `110`, and `111`.\r\n \r\n## Input\r\n\r\n- Chỉ một dòng duy nhất chứa số nguyên $n$.\r\n\r\n## Output \r\n\r\n- In kết quả chia lấy dư cho $10^9 + 7$.\r\n \r\n## Constraints\r\n \r\n- $1 \\le n \\le 10^6$\r\n\r\n \r\n## Example\r\n \r\n**Sample input**\r\n```\r\n3\r\n```\r\n**Sample output**\r\n```\r\n8\r\n```","points":800.0,"partial":true,"time_limit":1.0,"memory_limit":524288,"short_circuit":false,"allowed_languages":[3,4,34,36,37,5,6,11,12,14,28,2,38,39,9,18,17,29,23,27,35,25,26,10,7,19,32,1,8,15,16,24,20,33,13,41,21,40],"is_public":true,"is_manually_managed":false,"permissions":{"can_edit":false}}