码迷,mamicode.com
首页 >  
搜索关键字:pascals triangle pas    ( 2128个结果
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
#修改加密规则alter user 'root'@'localhost' identified by '你的密码' password expire never; #更新用户密码alter user 'root'@'localhost' identified with mysql_native_pas ...
分类:数据库   时间:2018-12-13 19:26:37    阅读次数:173
mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded
#修改加密规则alter user 'root'@'localhost' identified by '你的密码' password expire never; #更新用户密码alter user 'root'@'localhost' identified with mysql_native_pas ...
分类:数据库   时间:2018-12-13 17:45:56    阅读次数:371
SAP系统中ASCS、ERS、PAS、AAS
SAP系统中ASCS、ERS、PAS、AAS是什么: ASCS:ABAP Central services instance (Message server) PAS: Primary application server instance (Dispatcher,dialog, batch, sp ...
分类:其他好文   时间:2018-12-09 22:39:24    阅读次数:616
CF1030D Vasya and Triangle 计算几何、构造
传送门 这题竟然只有1700…… 我们考虑使用初中学过的割补法求三角形的面积 也就是把一个三角形补成下面这样 那么三角形的面积$S=XY-\frac{(X-X_1)(Y-Y_1)}{2}-\frac{XY_1}{2}-\frac{X_1Y}{2}=\frac{XY-X_1Y_1}{2}$ 又因为$X ...
分类:其他好文   时间:2018-12-09 12:13:51    阅读次数:217
Python3:判断三角形的类型
# 判断三角形类型def triangle(a,b,c): if a>0 and b>0 and c>0: if a+b>c and b+c>a and a+c>b: if a == b and b == c: return ("这是等边三角形") elif a == b or b == c or ... ...
分类:编程语言   时间:2018-12-07 20:59:22    阅读次数:263
计算系数
输入文件:factor.in 输出文件:factor.out 提交文件:factor.pas/cpp 时间限制:1S 空间限制:128M 题目描述: 给定一个多项式(ax + by)k,请求出多项式展开后xn ym项的系数。 输入格式: 共一行,包含 5 个整数,分别为a,b,k,n,m,每两个整数 ...
分类:其他好文   时间:2018-12-07 18:31:53    阅读次数:208
Factor
恢复 昨天的一道题... 失去理想,成为一条咸鱼。。。 计算系数 输入文件:factor.in 输出文件:factor.out 提交文件:factor.pas/cpp 时间限制:1S 空间限制:128M 题目描述: 给定一个多项式(ax + by)k,请求出多项式展开后xn ym项的系数。 输入格式 ...
分类:其他好文   时间:2018-12-07 17:16:06    阅读次数:216
封装-判断三角形案例
1 //三角形类 2 public class Triangle { 3 private int a; //三角形第一条边 4 private int b; //三角形第二条边 5 private int c; //三角形第三条边 6 7 public int getA() { 8 return a... ...
分类:其他好文   时间:2018-12-05 22:27:53    阅读次数:352
119. Pascal's Triangle II - Easy
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:其他好文   时间:2018-12-02 19:22:23    阅读次数:149
118. Pascal's Triangle
problem 118. Pascal's Triangle code 注意数组的下标,以及数组的size。根据题意,其实可以确定数组的大小。 参考 1. leetcode_Pascal's Triangle; 完 ...
分类:其他好文   时间:2018-12-01 15:37:40    阅读次数:210
2128条   上一页 1 ... 26 27 28 29 30 ... 213 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!