牛客575029355号
牛客575029355号
全部文章
分类
题解(45)
归档
标签
去牛客网
登录
/
注册
牛客575029355号的博客
全部文章
(共47篇)
题解 | #决策树的生成与训练-信息熵的计算#
import pandas as pd from math import log def calcInfoEnt(): datas = pd.read_csv('dataSet.csv',header=None) labels = datas.iloc[:,-1].value_co...
2023-10-06
0
223
题解 | #鸢尾花分类_2#
from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression from ...
2023-10-06
0
263
题解 | #KiKi判断上三角矩阵#
#include<stdio.h> int main() { int n = 0; scanf("%d",&n); &n...
C
2022-05-19
0
250
题解 | #KiKi求质数个数#
#include<stdio.h> int main() { int i = 0; int count = 0; &nbs...
C
2022-05-18
3
344
题解 | #小乐乐计算函数#
#include<stdio.h> int max3(int a,int b,int c) { return a>b? a>c?a:c : b>...
C
2022-05-18
3
495
题解 | #小乐乐与欧几里得#
#include<stdio.h> int main() { long n = 0; long m = 0; ...
C
2022-05-11
1
383
题解 | #小乐乐排电梯#
#include<stdio.h> int main() { int n = 0; scanf("%d",&n); &n...
C
2022-05-11
0
377
题解 | #井字棋#
暴力枚举 #include<stdio.h> int main() { char arr[3][3] = {0}; char result&n...
C
2022-05-11
1
456
题解 | #杨辉三角#
#include<stdio.h> int main() { int n = 0; scanf("%d",&n); &n...
C
2022-05-10
0
324
题解 | #矩阵交换#
#include<stdio.h> int main() { int n = 0; int m = 0;&nb...
C
2022-05-09
1
337
首页
上一页
1
2
3
4
5
下一页
末页