${course.course_description}
-b'# \xe4\xba\x8c\xe5\x88\x86\n> Auto-generated at 2025-09-05 19:48\n\n## \xe9\x98\xb6\xe6\xae\xb5\xe4\xb8\x80\xef\xbc\x9a\xe7\xa4\xba\xe4\xbe\x8b\xe9\x98\xb6\xe6\xae\xb5\n### \xe5\xbc\x95\xe5\x85\xa5\n\n\xe4\xba\x8c\xe5\x88\x86\xe6\x98\xaf\xe4\xb8\x80\xe4\xb8\xaa\xe5\xbe\x88\xe7\xae\x80\xe5\x8d\x95\xe5\x9f\xba\xe7\xa1\x80\xef\xbc\x8c\xe4\xbd\x86\xe5\xbe\x88\xe9\x87\x8d\xe8\xa6\x81\xe7\x9a\x84\xe7\x9f\xa5\xe8\xaf\x86\xe7\x82\xb9\xef\xbc\x8c\xe4\xb8\xba\xe4\xbb\xa5\xe5\x90\x8e\xe8\xae\xb8\xe5\xa4\x9a\xe9\xab\x98\xe7\xba\xa7\xe7\x9a\x84\xe6\x95\xb0\xe6\x8d\xae\xe7\xbb\x93\xe6\x9e\x84\xe4\xb8\x8e\xe7\xae\x97\xe6\xb3\x95\xe9\x93\xba\xe5\x9e\xab\xe3\x80\x82\n\n\xe4\xb8\x8b\xe9\x9d\xa2\xe6\x98\xaf\xe4\xb8\x80\xe4\xb8\xaa\xe7\x94\xa8\xe4\xba\x8c\xe5\x88\x86\xe7\x9a\x84\xe7\xae\x80\xe5\x8d\x95\xe5\x9c\xba\xe6\x99\xaf\xef\xbc\x9a\n\n\xe5\x81\x87\xe8\xae\xbe\xe5\xb0\x8f\xe6\x98\x8e\xe4\xbb\x8e0\xe5\x88\xb01000\xe4\xb9\x8b\xe9\x97\xb4\xe9\x80\x89\xe6\x8b\xa9\xe4\xba\x86\xe4\xb8\x80\xe4\xb8\xaa\xe6\x95\xb0\xe5\xad\x97\xe4\xbd\x86\xe4\xb8\x8d\xe5\x91\x8a\xe8\xaf\x89\xe4\xbd\xa0\xef\xbc\x8c\xe4\xbd\xa0\xe5\x8f\xaf\xe4\xb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xe9\x80\x89\xe5\x8c\xba\xef\xbc\x8c\xe7\x8c\x9c\xe6\xb5\x8b750\xef\xbc\x8c\xe5\x81\x87\xe8\xae\xbe\xe8\xbf\x87\xe5\xa4\xa7\n3. \xe5\x88\x99\xe5\xaf\xb9\xe4\xba\x8e501\xe5\x88\xb0749\xe7\x9a\x84\xe7\xad\x94\xe6\xa1\x88\xe5\xa4\x87\xe9\x80\x89\xe5\x8c\xba\xef\xbc\x8c\xe7\x8c\x9c\xe6\xb5\x8b625\xef\xbc\x8c\xe5\x81\x87\xe8\xae\xbe\xe8\xbf\x87\xe5\xb0\x8f\xef\xbc\x8c\n4. \xe5\x88\x99\xe5\xaf\xb9\xe4\xba\x8e626\xe5\x88\xb0749\xe5\x8c\xba\xe9\x97\xb4......\n5. \xef\xbc\x88688-749\xef\xbc\x89\n6. \xef\xbc\x88718-749\xef\xbc\x89\n7. \xef\xbc\x88734-749\xef\xbc\x89\n8. \xef\xbc\x88742-749\xef\xbc\x89\n9. \xef\xbc\x88746-749\xef\xbc\x89\n10. \xef\xbc\x88748-749\xef\xbc\x89\n11. \xef\xbc\x88749-749\xef\xbc\x89\n\n\xe5\x9c\xa8\xe6\x9c\x80\xe5\xb7\xae\xe7\x9a\x84\xe6\x83\x85\xe5\x86\xb5\xe4\xb8\x8b\xef\xbc\x8c\xe7\xac\xac11\xe6\xac\xa1\xe7\x9a\x84\xe7\xad\x94\xe6\xa1\x88\xe5\xa4\x87\xe9\x80\x89\xe5\x8c\xba\xe5\xb0\xb1\xe4\xb8\x80\xe5\xae\x9a\xe9\x95\xbf\xe5\xba\xa6\xe4\xb8\xba1\xe4\xba\x86\xef\xbc\x8c\xe4\xb9\x9f\xe5\xb0\xb1\xe6\x98\xaf\xe5\xbf\x85\xe7\x84\xb6\xe6\x98\xaf\xe7\xad\x94\xe6\xa1\x88\xe3\x80\x82\n\n\xe5\x9b\xa0\xe6\xad\xa4\xe5\xa6\x82\xe6\x9e\x9c\xe5\xba\x8f\xe5\x88\x97\xe6\x98\xaf\xe6\x9c\x89\xe5\xba\x8f\xe7\x9a\x84\xef\xbc\x8c\xe5\xb0\xb1\xe5\x8f\xaf\xe4\xbb'
+ + + \ No newline at end of file diff --git a/Html/apps/static/基础算法-二分.html b/Html/apps/static/基础算法-二分.html new file mode 100644 index 0000000..f1ff381 --- /dev/null +++ b/Html/apps/static/基础算法-二分.html @@ -0,0 +1,56 @@ + + + + + + + +++Auto-generated at 2025-09-05 19:48
+
二分是一个很简单基础,但很重要的知识点,为以后许多高级的数据结构与算法铺垫。
+下面是一个用二分的简单场景:
+假设小明从0到1000之间选择了一个数字但不告诉你,你可以不断猜测这个数,每次猜测小明会告知你的猜测得过大还是过小,问最多几次就一定能猜中?
+答案是利用二分查找的原理,猜测11次即可。
+在最差的情况下,第11次的答案备选区就一定长度为1了,也就是必然是答案。
+因此如果序列是有序的,就可以通过二分查找快速定位所需要的数据。
+对于上面那个题目,如果问题区间是1到4000,最差情况下需要猜测几次?
+试试对于下面的题目,用代码实现一下二分查找。
+给出一个长度为n的有序数组(从小到大),有q次询问,对于每次询问,输出指定数在数组中的下标。如果不存在则输出-1。
+第一行一个整数n。(1<=n<=10^5)
+第二行n个用空格分开的整数ai。(0<=ai<=10^8)
+第三行一个整数q,表示询问的次数。(1<=q<=10^4)
+后q行,每行一个整数b,表示询问的数。(0<=b<=10^8)
+q行,每行一个整数,对应每次询问的返回结果。
+完成代码后,通知Agent进行评测。
+如果你还不完全会这个算法,询问Agent获取提示并进行学习。
+ + + \ No newline at end of file diff --git a/Html/apps/templates/dashboard.html b/Html/apps/templates/dashboard.html index b5bee8a..91f5423 100644 --- a/Html/apps/templates/dashboard.html +++ b/Html/apps/templates/dashboard.html @@ -31,6 +31,13 @@ + {% for course in user_selected_course %} +{{course.description}}
+ {% endfor %}