最新发布第10页
20240128 上课-谷穗社区

20240128 上课

#include <bits/stdc++.h>using namespace std;const int R = 8;const int C = 10;const int BR = 0; const int BC = 0; const int ER = 7;const int EC = 9;int dr[4] = {0, 1, 0, -1};i...
谷穗社区工作室的头像-谷穗社区谷穗社区工作室12个月前
04214
C++ 第1课《C++基础》-谷穗社区

C++ 第1课《C++基础》C++基础

标准开始:#include<bits/stdc++.h> using namespace std; int main(){ return 0; }int大小:-2147483648~2147483647float:单精度浮点型double:双精度浮点型bool:布尔值(true false)ch...
谷穗社区工作室的头像-谷穗社区谷穗社区工作室2年前
010839
匿名函数-谷穗社区

匿名函数

rerverse:True(反序)--排序 help(内置函数)--解释说明 abs(值)--取绝对值 sum = lambda a,b:a+b print(sum) ls=[3,16,2,6,8,3,17] ls.sort(key=lambda x:x%10) print(ls)
谷穗社区工作室的头像-谷穗社区谷穗社区工作室2年前
1519