码迷,mamicode.com
首页 >  
搜索关键字:score    ( 2092个结果
cf 1305 E. Kuroni and the Score Distribution
题目链接:http://codeforces.com/contest/1305/problem/E 题意:给你一个n和m,要你构造一个长度为n的序列,且序列满足a[i]<a[i+1],而且必须要有m组a[i]+a[j]=a[k](i<j<k),如果不存在就输出-1. 思路:如果m=0,那就输出n个奇 ...
分类:其他好文   时间:2020-03-04 20:48:30    阅读次数:47
[Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated]-E. Kuroni and the Score Distribution(构造)
[Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated] E. Kuroni and the Score Distribution(构造) Kuroni is the coordinator of the next Mathforces round writt ...
分类:其他好文   时间:2020-03-04 17:31:35    阅读次数:130
cf 1305 E. Kuroni and the Score Distribution
题目传送门:E. Kuroni and the Score Distribution 题目大意:给n和m,输出n个数,这些数里必须要有m对a[i]+a[j]==a[k] ( i < j < k ) 题解:(这里的a[i]不是题目意思中的a[i])分两种情况: 1. m==0 直接输出n个递增的奇数即 ...
分类:其他好文   时间:2020-03-04 10:01:08    阅读次数:56
苏州大学ICPC集训队新生赛第二场
A - Score UVA - 1585 水 #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n--){ int sum=0; string s; cin>>s; int len=s.size ...
分类:其他好文   时间:2020-02-28 01:37:26    阅读次数:71
c++程序—选择结构
if(判断条件){执行语句} #include<iostream> using namespace std; #include<string> int main() { int score = 0; cout << "Input your score,please :" << endl; cin > ...
分类:编程语言   时间:2020-02-27 23:46:20    阅读次数:103
数据清洗 | 通过 Z-Score 方法判断异常值
判断异常值方法:Z-Score 计算公式 Z = (X-μ)/σ 其中μ为总体平均值,X-μ为离均差,σ表示标准差。z的绝对值表示在标准差范围内的原始分数与总体均值之间的距离。当原始分数低于平均值时,z为负,以上为正。 代码演示 1 生成一个 df 1 import pandas as pd # 导 ...
分类:其他好文   时间:2020-02-27 13:15:49    阅读次数:675
Python Class
Basic knowledge: 1. Class VS Instance; class Student(object): def __init__(self, name, score): self.__name = name self.__score = score def print_score ...
分类:编程语言   时间:2020-02-27 01:07:23    阅读次数:62
error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
#include "stdio.h" double average(double array[10]); void main() { double score[10]={10,20,10,20,10,20,10,20,10,20},result; result=average(score); pri ...
分类:其他好文   时间:2020-02-23 22:05:11    阅读次数:277
2020年2月22日---日报分享
数据库任务 1.用子查询, 来查找来自安徽的学生的语文成绩。 -- 用子查询,查来自安徽的学生的语文成绩 SELECT score From pengshengscore WHERE subjects = '语文' AND Stuid in (SELECT Stuid FROM pengshengS ...
分类:其他好文   时间:2020-02-23 15:02:43    阅读次数:86
1301. Number of Paths with Max Score
You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You need to r ...
分类:其他好文   时间:2020-02-22 13:33:15    阅读次数:59
2092条   上一页 1 ... 17 18 19 20 21 ... 210 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!