-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8499861
commit 55ceee7
Showing
6 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-05-08 09:05:39 | ||
2023-05-09 01:05:38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"\ud83c\udf88\u7b97\u6cd5\u8da3\u9898": [[{"url": "", "str": "\u65e5\u671f"}, {"url": "", "str": "\u9898\u76ee\u63cf\u8ff0\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u89e3\u7b54\u89c1\u53f3\uff08\u9632\u5267\u900f\u5206\u5272\u7ebf\uff09-------------------------------------------------------------------------------------------------------------->"}, {"url": "", "str": "\u96be\u5ea6"}, {"url": "", "str": "\u89e3\u7b54\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u5907\u6ce8"}], [{"url": "", "str": "2023-05-08"}, {"url": "https://codeforces.com/problemset/problem/520/B", "str": "https://codeforces.com/problemset/problem/520/B\n\n\u8f93\u5165\u4e24\u4e2a\u4e0d\u540c\u7684\u6574\u6570 n m\uff0c\u8303\u56f4\u90fd\u5728 [1,1e4]\u3002\n\n\u6bcf\u6b21\u64cd\u4f5c\uff0c\u53ef\u4ee5 n*=2\uff0c\u6216\u8005 n-=1\u3002\n\u81f3\u5c11\u64cd\u4f5c\u591a\u5c11\u6b21\u53ef\u4ee5\u5f97\u5230 m\uff1f\n\n\u5982\u679c\u8fd8\u53ef\u4ee5\u52a0\u4e00\u5462\uff1f\nhttps://codeforces.com/problemset/problem/710/E"}, {"url": "", "str": "\u8f93\u5165 4 6\n\u8f93\u51fa 2\n\n\u8f93\u5165 10 1\n\u8f93\u51fa 9"}, {"url": "", "str": "1400"}, {"url": "https://codeforces.com/contest/520/submission/204549550", "str": "https://codeforces.com/contest/520/submission/204549550\n\n\u5982\u679c n > m\uff0c\u5c31\u53ea\u80fd\u4e0d\u65ad -1 \u4e86\uff0c\u6240\u4ee5\u76f4\u63a5\u8f93\u51fa n-m\u3002\n\n\u5982\u679c n < m\uff0c\u53ef\u4ee5\u7528 BFS\uff08\u7a0d\u5fae\u9650\u5236\u4e00\u4e0b\u6570\u5b57\u7684\u4e0a\u754c\uff0c\u6bd4\u5982\u4e0d\u80fd\u8d85\u8fc7 10m\uff09\u3002\n\n\u4e0b\u9762\u8bf4\u4e00\u4e2a O(log) \u7684\u505a\u6cd5\u3002\n\n\u7531\u4e8e *2 \u4e0d\u7a33\u5b9a\uff08\u4e0d\u77e5\u9053\u4ec0\u4e48\u65f6\u673a *2 \u6700\u597d\uff09\uff0c\u9006\u5411\u601d\u7ef4\uff0c\u6539\u6210\u4ece m \u51fa\u53d1\uff0c\u901a\u8fc7 /2 \u548c +1 \u53d8\u6210 n\u3002\n\n\u80fd\u4e0d\u80fd\u6267\u884c\u8fde\u7eed\u4e24\u6b21 +1\uff0c\u518d /2 \u5462\uff1f\n\n\u8fd9\u4e0d\u5982\u5148 /2 \u518d +1\uff0c\u53ea\u9700\u8981\u4e24\u6b21\u64cd\u4f5c\n\u6240\u4ee5\u53ea\u8981 m \u662f\u5076\u6570\u5c31 /2\uff0c\u5947\u6570\u624d +1\u3002\u76f4\u5230 m <= n \u9000\u51fa\u5faa\u73af\uff0c\u56e0\u4e3a\u5fc5\u987b\u90fd +1\u3002\u8fd9\u6837\u53ef\u4ee5\u505a\u5230 O(log) \u7684\u65f6\u95f4\u590d\u6742\u5ea6\u3002\n\nO(1) \u505a\u6cd5\u89c1\u53f3\u4fa7\u94fe\u63a5\u3002"}, {"url": "", "str": "https://codeforces.com/contest/520/submission/205035892"}]], "\ud83c\udf33\u66f4\u65b0\u65e5\u5fd7": [], "\u2753\u601d\u8003\u9898": [], "AC \u4e86\u4e00\u9053\u9898\u5c31\u7ed3\u675f\u4e86\u5417\uff1f": [], "TODO": [], "\u5907\u9009\u9898\u76ee": [], "QUEUE": []} | ||
{"\ud83c\udf88\u7b97\u6cd5\u8da3\u9898": [[{"url": "", "str": "\u65e5\u671f"}, {"url": "", "str": "\u9898\u76ee\u63cf\u8ff0\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u89e3\u7b54\u89c1\u53f3\uff08\u9632\u5267\u900f\u5206\u5272\u7ebf\uff09-------------------------------------------------------------------------------------------------------------->"}, {"url": "", "str": "\u96be\u5ea6"}, {"url": "", "str": "\u89e3\u7b54\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u5907\u6ce8"}], [{"url": "", "str": "2023-05-09"}, {"url": "https://codeforces.com/problemset/problem/997/A", "str": "https://codeforces.com/problemset/problem/997/A\n\n\u8f93\u5165 n(1\u2264n\u22643e5) x(0\u2264x\u22641e9) y(0\u2264y\u22641e9) \u548c\u957f\u4e3a n \u7684 01 \u5b57\u7b26\u4e32 s\u3002\n\n\u4f60\u53ef\u4ee5\u6267\u884c\u4efb\u610f\u6b21\u64cd\u4f5c\uff0c\u6bcf\u6b21\u9009\u62e9\u5176\u4e2d\u4e00\u79cd\u64cd\u4f5c\u6267\u884c\u3002\n1. \u82b1\u8d39 x\uff0creverse s \u7684\u4e00\u4e2a\u5b50\u4e32\uff0c\u4f8b\u5982 1110 -> 0111\u3002\n2. \u82b1\u8d39 y\uff0cflip s \u7684\u4e00\u4e2a\u5b50\u4e32\uff0c\u4f8b\u5982 1110 -> 0001\u3002\n\n\u76ee\u6807\uff1a\u4f7f s \u4e2d\u53ea\u6709 1\u3002\n\u8f93\u51fa\u6700\u5c11\u82b1\u8d39\u3002"}, {"url": "", "str": "\u8f93\u5165\n5 1 10\n01000\n\u8f93\u51fa\n11\n\n\u8f93\u5165\n5 10 1\n01000\n\u8f93\u51fa\n2\n\n\u8f93\u5165\n7 2 3\n1111111\n\u8f93\u51fa\n0"}, {"url": "", "str": "1500"}, {"url": "https://codeforces.com/contest/997/submission/205172377", "str": "https://codeforces.com/contest/997/submission/205172377\n\n\u5982\u679c\u6ca1\u6709 0\uff0c\u8f93\u51fa 0\u3002\n\u5982\u679c x < y\uff0c\u90a3\u4e48\u53ef\u4ee5\u628a\u6240\u6709 0 \u901a\u8fc7\u591a\u6b21 reverse \u64cd\u4f5c\u805a\u5728\u4e00\u8d77\uff0c\u7136\u540e\u518d\u64cd\u4f5c\u4e00\u6b21 flip\u3002\nreverse \u7684\u64cd\u4f5c\u6b21\u6570\u5c31\u662f 0 \u7ec4\u7684\u4e2a\u6570\u51cf\u4e00\u3002\u4f8b\u5982 001101000 \u4e2d\u6709\u4e09\u4e2a 0 \u7ec4\uff0c\u9700\u8981\u4e24\u6b21 reverse\u3002\n\u5982\u679c x >= y\uff0c\u90a3\u4e48\u628a\u6bcf\u4e2a 0 \u7ec4 flip \u6389\u5373\u53ef\u3002"}]], "\ud83c\udf33\u66f4\u65b0\u65e5\u5fd7": [], "\u2753\u601d\u8003\u9898": [], "AC \u4e86\u4e00\u9053\u9898\u5c31\u7ed3\u675f\u4e86\u5417\uff1f": [], "TODO": [], "\u5907\u9009\u9898\u76ee": [], "QUEUE": []} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"\ud83c\udf88\u7b97\u6cd5\u8da3\u9898": [[{"url": "", "str": "\u65e5\u671f"}, {"url": "", "str": "\u9898\u76ee\u63cf\u8ff0\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u89e3\u7b54\u89c1\u53f3\uff08\u9632\u5267\u900f\u5206\u5272\u7ebf\uff09-------------------------------------------------------------------------------------------------------------->"}, {"url": "", "str": "\u96be\u5ea6"}, {"url": "", "str": "\u89e3\u7b54\uff08\u70b9\u51fb\u5355\u5143\u683c\u53ef\u4ee5\u6253\u5f00\u94fe\u63a5\uff0c\u53f3\u952e\u590d\u5236\uff09"}, {"url": "", "str": "\u5907\u6ce8"}], [{"url": "", "str": "2023-05-09"}, {"url": "https://codeforces.com/problemset/problem/997/A", "str": "https://codeforces.com/problemset/problem/997/A\n\n\u8f93\u5165 n(1\u2264n\u22643e5) x(0\u2264x\u22641e9) y(0\u2264y\u22641e9) \u548c\u957f\u4e3a n \u7684 01 \u5b57\u7b26\u4e32 s\u3002\n\n\u4f60\u53ef\u4ee5\u6267\u884c\u4efb\u610f\u6b21\u64cd\u4f5c\uff0c\u6bcf\u6b21\u9009\u62e9\u5176\u4e2d\u4e00\u79cd\u64cd\u4f5c\u6267\u884c\u3002\n1. \u82b1\u8d39 x\uff0creverse s \u7684\u4e00\u4e2a\u5b50\u4e32\uff0c\u4f8b\u5982 1110 -> 0111\u3002\n2. \u82b1\u8d39 y\uff0cflip s \u7684\u4e00\u4e2a\u5b50\u4e32\uff0c\u4f8b\u5982 1110 -> 0001\u3002\n\n\u76ee\u6807\uff1a\u4f7f s \u4e2d\u53ea\u6709 1\u3002\n\u8f93\u51fa\u6700\u5c11\u82b1\u8d39\u3002"}, {"url": "", "str": "\u8f93\u5165\n5 1 10\n01000\n\u8f93\u51fa\n11\n\n\u8f93\u5165\n5 10 1\n01000\n\u8f93\u51fa\n2\n\n\u8f93\u5165\n7 2 3\n1111111\n\u8f93\u51fa\n0"}, {"url": "", "str": "1500"}, {"url": "https://codeforces.com/contest/997/submission/205172377", "str": "https://codeforces.com/contest/997/submission/205172377\n\n\u5982\u679c\u6ca1\u6709 0\uff0c\u8f93\u51fa 0\u3002\n\u5982\u679c x < y\uff0c\u90a3\u4e48\u53ef\u4ee5\u628a\u6240\u6709 0 \u901a\u8fc7\u591a\u6b21 reverse \u64cd\u4f5c\u805a\u5728\u4e00\u8d77\uff0c\u7136\u540e\u518d\u64cd\u4f5c\u4e00\u6b21 flip\u3002\nreverse \u7684\u64cd\u4f5c\u6b21\u6570\u5c31\u662f 0 \u7ec4\u7684\u4e2a\u6570\u51cf\u4e00\u3002\u4f8b\u5982 001101000 \u4e2d\u6709\u4e09\u4e2a 0 \u7ec4\uff0c\u9700\u8981\u4e24\u6b21 reverse\u3002\n\u5982\u679c x >= y\uff0c\u90a3\u4e48\u628a\u6bcf\u4e2a 0 \u7ec4 flip \u6389\u5373\u53ef\u3002"}]], "\ud83c\udf33\u66f4\u65b0\u65e5\u5fd7": [], "\u2753\u601d\u8003\u9898": [], "AC \u4e86\u4e00\u9053\u9898\u5c31\u7ed3\u675f\u4e86\u5417\uff1f": [], "TODO": [], "\u5907\u9009\u9898\u76ee": [], "QUEUE": []} |