码迷,mamicode.com
首页 >  
搜索关键字:score    ( 2092个结果
Java 条件语句 if
Java的条件判断一个if语句包含一个布尔表达式和一条或多条语句。一个ifintscore=88;if(score>60){System.out.println("及格");}输出及格ifelseintscore=50;if(score>60){System.out.println("及格");}else{System.out.println(&
分类:编程语言   时间:2020-02-21 18:37:46    阅读次数:62
1038 统计同成绩学生
水题。 #include<iostream> using namespace std; int hashtable[111]= {0}; //成绩与人数的映射 int main() { int n,score,k; cin>>n; for(int i = 0; i < n; ++i) { scanf ...
分类:其他好文   时间:2020-02-19 12:50:27    阅读次数:73
GKH result insist
1.H-index a researcher at least h paper h score input: T test case N Ai output: thought: 好用的模板: Answer: #include <iostream> #include <algorithm> #incl ...
分类:其他好文   时间:2020-02-19 01:18:18    阅读次数:94
SQL with ties的理解与 top 10 with ties
SQL with ties的理解与 “从100万条记录中的得到成绩最高的记录”。看到这个题目,通常我们的做法是: select top 1 * from student order by score desc 但是这样做你会发现,如果有几个人分数并列第一,这样就只能取到一个记录。用下面的代码的话,就 ...
分类:数据库   时间:2020-02-18 18:38:08    阅读次数:188
c语言 控制链表(登录学生分数)
#include <stdio.h>#include <string.h>#include <malloc.h> #define NULL 0#define LEN sizeof(struct student) struct student{long num;float score; //char ...
分类:编程语言   时间:2020-02-16 12:40:13    阅读次数:80
Java逻辑运算符(&&、||和!)
逻辑运算符,把多个条件联合判断,用来判断条件是否成立。举例子,小明大于10岁,且数学测试分数超过90分,才能参加全国数学竞赛。比如intage=12;intscore=97;if(age>10&&score>90){System.out.println("可以参加数学竞赛");}else{System.out.println("不可以参加数
分类:编程语言   时间:2020-02-16 01:43:33    阅读次数:107
解决python mysql插入数据时报错:TypeError: %d format: a number is required, not str
今天在使用python爬取数据并将其写入mysql数据库时,使用该如下语句: cursor.execute( "insert into comments_p_spider(owner_id,from_name,content,create_time,score,comment_level) valu ...
分类:数据库   时间:2020-02-15 22:06:24    阅读次数:228
1004 成绩排名
水题。 #include"iostream" #include"algorithm" using namespace std; struct Student { string name,id; int score; }; int main() { int n; cin>>n; Student max ...
分类:其他好文   时间:2020-02-15 18:37:35    阅读次数:56
c语言数据结构---动态链表操作
#include <stdio.h> #include <stdlib.h> #include <string.h> //#define LEN sizeof(LinkedList); typedef struct Student{ int score; char name[10]; struct ...
分类:编程语言   时间:2020-02-15 15:15:57    阅读次数:70
sklearn.metrics中的评估方法
1.confusion_matrix 利用混淆矩阵进行评估 复现代码 accuracy_score() 分类准确率分数 分类准确率分数是指所有分类正确的百分比。分类准确率这一衡量分类器的标准比较容易理解,但是它不能告诉你响应值的潜在分布,并且它也不能告诉你分类器犯错的类型 ...
分类:其他好文   时间:2020-02-13 17:14:17    阅读次数:110
2092条   上一页 1 ... 18 19 20 21 22 ... 210 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!