diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..26d33521af10bcc7fd8cea344038eaaeb78d0ef5 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/DataStructureProject.iml b/.idea/DataStructureProject.iml new file mode 100644 index 0000000000000000000000000000000000000000..71ede119882e22b2df1127b8fa47f34652af447a --- /dev/null +++ b/.idea/DataStructureProject.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/csv-plugin.xml b/.idea/csv-plugin.xml new file mode 100644 index 0000000000000000000000000000000000000000..3ef2f56adeb92719edf463f1755dacb5a02f1bc3 --- /dev/null +++ b/.idea/csv-plugin.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000000000000000000000000000000000000..23e4514b49aa2b2821d0a81685717612b6a16dff --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000000000000000000000000000000000000..105ce2da2d6447d11dfe32bfb846c3d5b199fc99 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..0348ff992f979a934b0260d64579ef1a351991bd --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..aa7e8bd5d1dc60c882db9c297e562e8b65937a9b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000000000000000000000000000000000000..94a25f7f4cb416c083d265558da75d457237d671 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/README.md" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/README.md" index af96f9cff1983bb6fb38cc9b445c43f8f0c554fc..d29d50bf2ba56a5c7fc97f1f5b2ea07c426cd89f 100644 --- "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/README.md" +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/README.md" @@ -1,34 +1,126 @@ # 24-奥运排行榜-内容项目-第四单元 数据结构的应用 ### 一、项目主题 +  每届奥运会各大媒体都会公布一个排行榜,但每个排行榜可能略有不同,如有的是按金牌总数排列的“金牌榜”,有的是按奖牌总数排列的“奖牌榜”,甚至还有“国民人均奖牌榜”,等等。现在以2022年北京冬奥会的奖牌数为例,部分数据(数据统计时间为2022年2月20日)如表所示。请编写一个程序,编制金牌排行榜。 +![示例图](img/6.jpg) ### 二、项目内容 #### 1.项目背景 +  奥运奖牌榜是生活中比较常见的排序算法的应用,要求按照一定的规则对奥运会各个国家获得的奖牌数进行排序,本项目要求按照金牌数进行降序排序。 + #### 2.项目设计依据 +  以生活中常见的问题,引导学生从问题出发已有的认知水平和实践能力出发,针对给定的项目任务进行分析,针对给定的项目任务进行分析,对排序规则——"降序"的分析和整理,明确要解决的关键问题,并能提取问题的基本特征,进行抽象建模,用算法描述解决问题的方案,并根据解决方案编写程序直至问题解决,得出结论。 #### 3.项目概述 +  本项目在前面学习的基础上,让学生通过对奖牌数据的分析,设计能够解决问题的冒泡排序算法,这既有利于学生对数据结构的分析,又能激发学生的思维。整个项目的实施,要求学生对奖牌数据存储结构的分析与处理过程清晰明了并设计正确的算法,使用Python语言编写程序,调试运行后得出结果,并能和其他同学进行展示交流。 + ### 三、项目指导 +学生需要在理解、体验和分析的基础上,围绕下列问题进行思考: + +1.如何读取数据,应当以何种结构存储奥运奖牌数据? + +2.可以使用哪些排序算法? + +3.冒泡排序时,比较的对象是什么?交换的对象是什么? + +4.遇到金牌数相等的应该怎么办? + ### 四、项目实施流程 +![示例图](img/1.jpg) ### 五、项目实施环节安排 +  本单元项目实施定位于学生已经学完选择性必修1《数据与数据结构》第五章的知识内容。通过本项目的实施,学生将对程序设计的各个环节、题目分析与算法设计、Python的基本控制结构以及不同的数据类型等内容在项目中进行综合应用。具体安排如下: + #### 第一阶段:项目准备阶段 -1. 确定项目主题 +课时分配:1课时。 + +1.确定项目主题。 + +根据项目内容,确定项目主题。 2. 项目需求分析与总体规划 +(1)明确项目实现的功能以及项目输入(即处理对象或原始数据)与输出(即处理结果)。 +(2)确定项目在实施过程中可以分成几个阶段完成,明确每个阶段需要完成的任务。 +![示例图](img/2.jpg) 3. 分组、分工 +  建议3~~4名学生为一组,确定一个组长作为项目负责人,统一协调组内成员各阶段的任务。项目在不同实施阶段每个组员都有不同的项目分工。 +![示例图](img/3.jpg) + + #### 第二阶段:项目的指导阶段 1. 抽象与建模 +   + 从表中数据可以看出,每个国家的信息是一条记录,包括编号、国家/地区、人口数量、各奖牌数等数据项。编制金牌排行榜,要按排序关键字“金牌”降序排序。排序过程中若要交换,则要将待交换的两条记录整体进行交换。 + 2. 设计算法 +  对于每个国家,需要记录其一条完整的记录信息,排序之前要将所有国家的信息存储起来,可以选用数组实现。有两种方案:一是采用7个一维数组按列存储;二是采用1个一维数组按行存储,每个数组元素对应某个国家的一条记录信息。采用不同的存储方式,排序时数据的交换方式也有不同。 + 3. 项目程序实现 +```python +import csv +#数据读入 +csvFile = open("jp.csv", "r") #打开相应数据文件 +reader = csv.reader(csvFile) #建立一个读入数据的对象 +a = [] +for item in reader: + a.append(item) +csvFile.close() +#排序 +for i in range(1,len(a) - 1): #排序不包含第一行数据 + for j in range(1,len(a) - i): + if int(a[j][3]) < int(a[j + 1][3]): + temp = a[j] + a[j] = a[j + 1] + a[j + 1] = temp + +#数据写入 +csvFile2 = open('jp2.csv','w', newline='') +writer = csv.writer(csvFile2, dialect='excel') +m = len(a) +for i in range(m): + writer.writerow(a[i]) +csvFile2.close() +``` #### 第三阶段:项目汇报阶段 +课时分配:1课时。 + +1.学生制作项目汇报材料。 + +(1)展示与分享项目成果。 + +(2)对完成项目的感悟,总结项目的实施流程。 + +(3)回顾项目实施过程中存在的困难及解决途径。 + +2.教师组织学生对每个小组项目进行评价。 +![示例图](img/5.jpg) + ### 六、项目汇报环节安排 +1.教学导入。 + +  鼓励学生作为小组项目发言人,自主准备汇报材料,介绍自己所在小组项目实施的过程、成果、意义及感悟,以期待得到同学的“认可”。引导学生以项目评价量化表为标准,客观给予评价。汇报的内容和形式自定,可以是文稿演示、成果报告、展板展示、项目实施手册展示和项目活动过程陈述等方式。教师对小组汇报的项目研究报告进行打分,并对评选出的最佳小组给予奖励。 + +  汇报过程对学生来说是一个非常重要的学习经历,也是对学生的总结反思、整理资料能力及写作能力的一次挑战。 + +2.分组汇报。 + +  每个项目研究小组派小组代表采用合适的方式汇报小组的项目经历与成果。 + +3.学生提问,教师点评,评价打分。 + +  根据“项目成果评价表”进行评价,并记录同学们提出的意见。 + +  每个小组可以根据同学们的评价进一步地修改项目中存在的问题,将自评、他评、师评和专家评价结合起来,借助信息技术更及时呈现评价结果。为了激励学生并检验各组的项目成果,教师合理评价并为“最佳”项目成果颁发奖项,以评价的形式引导学生梳理、总结项目成果。 + + + diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\270\255\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\270\255\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..158e80a9f978a1559fc39c901d6570fd5499af1a Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\270\255\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\271\214\345\205\213\345\205\260.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\271\214\345\205\213\345\205\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..9fe05730c0142eb72466117aee212842b6c60a9b Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\271\214\345\205\213\345\205\260.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\277\204\347\275\227\346\226\257\345\245\245\345\247\224\344\274\232.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\277\204\347\275\227\346\226\257\345\245\245\345\247\224\344\274\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..f158d52e047fa38a69fe442e5f4d1b7eac0af1bb Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\344\277\204\347\275\227\346\226\257\345\245\245\345\247\224\344\274\232.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\212\240\346\213\277\345\244\247.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\212\240\346\213\277\345\244\247.png" new file mode 100644 index 0000000000000000000000000000000000000000..719eecf2ffa679d8c4fd157432904a47eb6d8692 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\212\240\346\213\277\345\244\247.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\214\210\347\211\231\345\210\251.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\214\210\347\211\231\345\210\251.png" new file mode 100644 index 0000000000000000000000000000000000000000..d78dd00798e0e075f3b257faffd94093438723cf Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\214\210\347\211\231\345\210\251.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\245\245\345\234\260\345\210\251.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\245\245\345\234\260\345\210\251.png" new file mode 100644 index 0000000000000000000000000000000000000000..7ef770b46f5dcd95ce2b2672e2a1c902be5f8ede Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\245\245\345\234\260\345\210\251.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\276\267\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\276\267\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..1012bb784282f6fd0f97e89b7a592bb2b4b91013 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\345\276\267\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\204\217\345\244\247\345\210\251.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\204\217\345\244\247\345\210\251.png" new file mode 100644 index 0000000000000000000000000000000000000000..a2cc95d72ea3960cf67dc54b64c7320a00a459d1 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\204\217\345\244\247\345\210\251.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\213\211\350\204\261\347\273\264\344\272\232.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\213\211\350\204\261\347\273\264\344\272\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..873c3a6a0bea67428f7a5f0a38a8eab8109e5548 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\213\211\350\204\261\347\273\264\344\272\232.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\214\252\345\250\201.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\214\252\345\250\201.png" new file mode 100644 index 0000000000000000000000000000000000000000..c5004f07e27239a82cc4c64d0a012d74906f7611 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\214\252\345\250\201.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\215\267\345\205\213.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\215\267\345\205\213.png" new file mode 100644 index 0000000000000000000000000000000000000000..24bd2747058e2eecc708b0eafd3b3463c0c2d35c Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\215\267\345\205\213.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\344\274\220\345\205\213.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\344\274\220\345\205\213.png" new file mode 100644 index 0000000000000000000000000000000000000000..2c9c21b6683fff31fecd87d3ebd862892dc48ab1 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\344\274\220\345\205\213.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\346\226\207\345\260\274\344\272\232.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\346\226\207\345\260\274\344\272\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..c4e361a9c927aa82a8227263fd24276e32da1e78 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\257\346\264\233\346\226\207\345\260\274\344\272\232.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\260\350\245\277\345\205\260.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\260\350\245\277\345\205\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..25abb78870a4370f7a35c6194a167da86c735adc Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\226\260\350\245\277\345\205\260.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\227\245\346\234\254.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\227\245\346\234\254.png" new file mode 100644 index 0000000000000000000000000000000000000000..662298ef7615a062d5dc337787eb927efc7013a0 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\227\245\346\234\254.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\257\224\345\210\251\346\227\266.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\257\224\345\210\251\346\227\266.png" new file mode 100644 index 0000000000000000000000000000000000000000..81afe6946c8ffb00c7ea9257b9f4e5fedc652ce0 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\257\224\345\210\251\346\227\266.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\225\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\225\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..027aaf1a11de80e8420944545f15b2f88d1f8d72 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\225\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\242\345\205\260.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\242\345\205\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..017ce874ee914d705ef778e52d6843f60aff2c7e Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\263\242\345\205\260.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\276\263\345\244\247\345\210\251\344\272\232.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\276\263\345\244\247\345\210\251\344\272\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..66599f80a0fa7831df1944d93239779320482d82 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\346\276\263\345\244\247\345\210\251\344\272\232.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\210\261\346\262\231\345\260\274\344\272\232.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\210\261\346\262\231\345\260\274\344\272\232.png" new file mode 100644 index 0000000000000000000000000000000000000000..b15470d7b704d51b7abe6a6bdccc78b52921d75f Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\210\261\346\262\231\345\260\274\344\272\232.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\205\270.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\205\270.png" new file mode 100644 index 0000000000000000000000000000000000000000..5b01ea6e9735e9f7c82b046af3643be3b0390d42 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\205\270.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\243\253.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\243\253.png" new file mode 100644 index 0000000000000000000000000000000000000000..99c1488e0cf2ec7d54c15541ce5c495a5626e7f4 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\221\236\345\243\253.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\231\275\344\277\204\347\275\227\346\226\257.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\231\275\344\277\204\347\275\227\346\226\257.png" new file mode 100644 index 0000000000000000000000000000000000000000..e838aa979bb8ad5aeba08fc6b713ab5543c2eb54 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\231\275\344\277\204\347\275\227\346\226\257.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\276\216\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\276\216\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..90f3fbbc172c1a790d5d3330c9509dc2bafa758f Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\347\276\216\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\212\254\345\205\260.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\212\254\345\205\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..f5c7df2c59d8b1850db96284f428ec42fddcb639 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\212\254\345\205\260.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\213\261\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\213\261\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..27af40a23a48d977fee645d4e0abe8ce0573aa2d Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\213\261\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\215\267\345\205\260.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\215\267\345\205\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..9ce71fab97474f1e2575e08d8fcf01bbb0dc1861 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\215\267\345\205\260.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\245\277\347\217\255\347\211\231.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\245\277\347\217\255\347\211\231.png" new file mode 100644 index 0000000000000000000000000000000000000000..699c66e3712c244b06aa38f95a311091547a0dc9 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\350\245\277\347\217\255\347\211\231.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\207\221\347\211\214.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\207\221\347\211\214.png" new file mode 100644 index 0000000000000000000000000000000000000000..3bed607b1ec173ed6c77e5d239bd5130994ff66d Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\207\221\347\211\214.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\234\347\211\214.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\234\347\211\214.png" new file mode 100644 index 0000000000000000000000000000000000000000..947e2909090f8477cbac248883d1340286b21568 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\234\347\211\214.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\266\347\211\214.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\266\347\211\214.png" new file mode 100644 index 0000000000000000000000000000000000000000..b31d94b62ed4a5d076f12efaf680404b3a34c270 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\223\266\347\211\214.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\237\251\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\237\251\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..ba882c6eb5b5fd8cc3b88f4e451bfdd7b5441dee Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/flag_img/\351\237\251\345\233\275.png" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/global_val.py" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/global_val.py" new file mode 100644 index 0000000000000000000000000000000000000000..30e0a1ee1efdab5ca78e83538da518b64fd0dd15 --- /dev/null +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/global_val.py" @@ -0,0 +1,16 @@ +_global_rank_list = [] + +def _init(): + global _global_rank_list + + _global_rank_list = [] + + +def init(): + _init() + +def get_rank_list(): + try: + return _global_rank_list + except NameError as e: + print(e, 'global未初始化') \ No newline at end of file diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/1.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/1.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..c81fa69902616d5d705a582069de607fb8cd0b67 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/1.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/2.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/2.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..5752c4464abec4878542f9a9b30cbefad1bb0a09 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/2.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/3.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/3.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..8af17b1c1da795985546d7653e007f0aebe7e8af Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/3.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/4.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/4.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..932eb756186fa25e86078a5ebefd53139f21a6ba Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/4.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/5.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/5.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..eb84bd5b4790de9d62008f2007da65d3ca9880e8 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/5.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/6.jpg" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/6.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..ae4a96dd1795596a10d6224ba48b058ac9ca6ab4 Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/img/6.jpg" differ diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/jp.csv" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/jp.csv" new file mode 100644 index 0000000000000000000000000000000000000000..783bc66454abb480b8f6207111b8c41507a1f08b --- /dev/null +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/jp.csv" @@ -0,0 +1,30 @@ +编号,国家/地区,金牌,银牌,铜牌,总数 +3,中国,9,4,2,15 +7,奥地利,7,7,4,18 +21,捷克,1,0,1,2 +5,瑞典,8,5,5,18 +19,英国,1,1,0,2 +20,匈牙利,1,0,2,3 +21,比利时,1,0,1,2 +13,意大利,2,7,8,17 +12,日本,3,6,9,18 +24,白俄罗斯,0,2,0,2 +14,韩国,2,5,2,9 +18,澳大利亚,1,2,1,4 +15,斯洛文尼亚,2,3,2,7 +8,瑞士,7,2,5,14 +16,芬兰,2,2,4,8 +2,德国,12,10,5,27 +21,斯洛伐克,1,0,1,2 +27,波兰,0,0,1,1 +25,西班牙,0,1,0,1 +11,加拿大,4,8,14,26 +6,荷兰,8,5,4,17 +17,新西兰,2,1,0,3 +4,美国,8,10,7,25 +1,挪威,16,8,13,37 +25,乌克兰,0,1,0,1 +27,拉脱维亚,0,0,1,1 +27,爱沙尼亚,0,0,1,1 +10,法国,5,7,2,14 +9,俄罗斯奥委会,6,12,14,32 diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/main.py" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/main.py" new file mode 100644 index 0000000000000000000000000000000000000000..6fccdc6c462e5bfd20e13dfac0f9ec0e34a08f9e --- /dev/null +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/main.py" @@ -0,0 +1,134 @@ +import tkinter + +from tkinter import ttk +from tkinter import * +import global_val +import solution +import random +from PIL import Image, ImageTk + +#导入内部包 + +class App: + def __init__(self, window): + self.sresult = Frame() + # self.aresult = Text() + # self.logresult = Text() + self.windowName = window + global_val.init() + self.create_widgets() + + self.fileName = "jp.csv" + self.origi_array = solution.readFile(self.fileName) #初始化原始数组 + self.output(self.origi_array) #调用输出函数,打印表格内容 + + def create_widgets(self): + self.windowName.title('奥运排行榜') + self.windowName.geometry('640x380') + + tabs = ttk.Notebook(self.windowName, width=960, height=600) #选项卡组件 + searchtabframe = Frame(tabs) # tabs:框架的父容器 + self.create_search_frame(searchtabframe) + + addtabframe = Frame(tabs) + # self.create_add_frame(addtabframe) + + tabs.add(searchtabframe, text='查询排行榜') + # tabs.add(addtabframe, text='新增比赛结果') + tabs.grid(row=0, column=0, rowspan=24, columnspan=2) + + def create_search_frame(self, searchtabframe): + # namelabel = Label(searchtabframe, text='姓名:') + # nameentry = Entry(searchtabframe) + self.sresult = Frame(searchtabframe, height = 900, width = 500) + + # namelabel.grid(row=0, column=0, padx=10, pady=5, ipady=10) + # nameentry.grid(row=0, column=1, padx=10, pady=10, ipady=10) + self.sresult.grid(row=0, column=0, rowspan=3, columnspan=1) + + searchbutton1 = Button(searchtabframe, text='排序(冒泡)', + command=lambda: self.bubble_sort_pro()) + # searchbutton2 = Button(searchtabframe, text='排序(插入)') + searchbutton3 = Button(searchtabframe, text='洗 牌', width = 10, + command=lambda: self.shuffle_array()) + searchbutton1.grid(row=0, column=1, padx=10, pady=5, ipady=10) + # searchbutton2.grid(row=1, column=1, padx=10, pady=5, ipady=10) + searchbutton3.grid(row=2, column=1, padx=10, pady=5, ipady=10) + + # 排序算法1:只按照金牌排序 + def bubble_sort(self): + origi_array = solution.readFile(self.fileName) + rank_array = solution.bubbleSort(origi_array, 2) + self.output(rank_array) + solution.writeFile(self.fileName,rank_array) + + #排序算法2:优化金牌相同的情况 + def bubble_sort_pro(self): + origi_array = solution.readFile(self.fileName) + rank_array_copper = solution.bubbleSort(origi_array, 4) + rank_array_silver = solution.bubbleSort(origi_array, 3) + rank_array_gold = solution.bubbleSort(origi_array, 2) + self.output(rank_array_gold) + solution.writeFile(self.fileName,rank_array_gold) + + #排序算法3:优化金牌相同的情况 + def bubble_sort_pro1(self): + origi_array = solution.readFile(self.fileName) + rank_array = solution.bubbleSort(origi_array, 2) + self.output(rank_array) + solution.writeFile(self.fileName, rank_array) + + + def shuffle_array(self): + origi_array = solution.readFile(self.fileName) + tmp = origi_array[1:] + # print(tmp) + random.shuffle(tmp) + # print(tmp) + shuffled = [origi_array[0]]+tmp + # print(shuffled) + self.output(shuffled) + solution.writeFile(self.fileName, shuffled) + + + def output(self, array : list): + if array: + #删除之前的表格对象 + for widget in self.sresult.winfo_children(): + widget.destroy() + + tree=ttk.Treeview(self.sresult, selectmode="extended") #创建表格对象 + tree["columns"]=tuple(array[0][2:]) #定义列 + tree.pack(expand=YES, fill=BOTH) + + tree.heading("#0", text="国家/地区") + tree.column("#0", minwidth=0, width=150, stretch=NO) + + style = ttk.Style(self.sresult) + style.configure('Treeview', rowheight=30) #设置行高 + + for i in range(2, len(array[0])): + tree.column(array[0][i], width=90, anchor='center') #设置列 + tree.heading(array[0][i], text=array[0][i]) #设置显示的表头名 + #添加数据到表格 + for i in range(1,len(array)): + file_name = "flag_img/" + array[i][1] + ".png" + pic = Image.open(file_name) + panel = Label(master=tree) + panel.img = ImageTk.PhotoImage(pic.resize((27, 18))) + tree.insert("", 'end', text=array[i][1], values=tuple(array[i][2:]), image=panel.img) + + + + # tree.pack() + + + +def main_app(): + window = Tk() + app = App(window) + window.mainloop() + + +if __name__ == '__main__': + main_app() diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/solution.py" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/solution.py" new file mode 100644 index 0000000000000000000000000000000000000000..3abcf5736ffae781eba09ebbe6c959837aa0e94f --- /dev/null +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/solution.py" @@ -0,0 +1,48 @@ +import csv + +def readFile(fileName): + csvFile = open(fileName, "r", encoding="utf-8-sig") + reader = csv.reader(csvFile) + a = [] + for item in reader: + a.append(item) + csvFile.close() + return a + +def writeFile(fileName, a : list): + csvFile = open(fileName, "w", encoding="utf-8-sig", newline="") + writer = csv.writer(csvFile) + for i in range(len(a)): + writer.writerow(a[i]) + csvFile.close() + + +def bubbleSort(a : list, col): + for i in range(1, len(a) - 1): + for j in range(1,len(a) - i): + if int(a[j][col]) < int(a[j+1][col]): + a[j], a[j+1] = a[j+1], a[j] + return a + +def bubbleSortPro(a : list): + for i in range(1, len(a) - 1): + for j in range(1,len(a) - i): + if int(a[j][2]) < int(a[j+1][2]): + a[j], a[j+1] = a[j+1], a[j] + elif int(a[j][2]) == int(a[j+1][2]) and int(a[j][3]) < int(a[j+1][3]): + a[j], a[j+1] = a[j+1], a[j] + elif int(a[j][3]) == int(a[j+1][3]) and int(a[j][4]) < int(a[j+1][4]): + a[j], a[j+1] = a[j+1], a[j] + return a + + +def bubbleSortPro(a : list): + for i in range(1, len(a) - 1): + for j in range(1,len(a) - i): + if int(a[j][2]) < int(a[j+1][2]): + a[j], a[j+1] = a[j+1], a[j] + elif int(a[j][2]) == int(a[j+1][2]) and int(a[j][3]) < int(a[j+1][3]): + a[j], a[j+1] = a[j+1], a[j] + elif int(a[j][3]) == int(a[j+1][3]) and int(a[j][4]) < int(a[j+1][4]): + a[j], a[j+1] = a[j+1], a[j] + return a diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/test.py" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/test.py" new file mode 100644 index 0000000000000000000000000000000000000000..dc29194b8aa52c7493a228d1c4747cbeb0a529f0 --- /dev/null +++ "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/test.py" @@ -0,0 +1,38 @@ +import tkinter +from tkinter import ttk +from tkinter import * +import global_val +import solution + + + + +win=tkinter.Tk() + +tree=ttk.Treeview(win)#表格 + +tree["columns"]=("姓名","年龄","身高") + +tree.column("姓名",width=100) #表示列,不显示 + +tree.column("年龄",width=100) + +tree.column("身高",width=100) + +tree.heading("姓名",text="姓名-name") #显示表头 + +tree.heading("年龄",text="年龄-age") + +tree.heading("身高",text="身高-tall") + +tree.insert("",0,text="line1" ,values=("1","2","3")) #插入数据, + +tree.insert("",1,text="line1" ,values=("1","2","3")) + +tree.insert("",2,text="line1" ,values=("1","2","3")) + +tree.insert("",3,text="line1" ,values=("1","2","3")) + +tree.pack() + +win.mainloop() diff --git "a/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/\344\270\255\345\233\275.png" "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/\344\270\255\345\233\275.png" new file mode 100644 index 0000000000000000000000000000000000000000..158e80a9f978a1559fc39c901d6570fd5499af1a Binary files /dev/null and "b/24-\345\245\245\350\277\220\346\216\222\350\241\214\346\246\234-\345\206\205\345\256\271\351\241\271\347\233\256-\347\254\254\345\233\233\345\215\225\345\205\203 \346\225\260\346\215\256\347\273\223\346\236\204\347\232\204\345\272\224\347\224\250/\344\270\255\345\233\275.png" differ