E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Chemistry
打表-HDOJ-5347-MZL's
chemistry
MZL’schemistryTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):711AcceptedSubmission(s):496ProblemDescriptionMZLdefineF(X)asthefirstionizationenergyofthechemic
Roy_Yuan
·
2015-10-11 19:00
c
HDU 5347 MZL's
chemistry
(水~)
Description给出两个元素的元素序号a和b,比较两者的第一电离能,前者大则输出FIRSTBIGGER,否则输出SECONDBIGGERInput多组输入,每组用例占一行包括两个整数表示两个元素的元素序号,以文件尾结束输入Output对于每组用例,输出两者的第一电离能大小情况,保证输入的两个元素位于同一周期或者同一主族且元素序号属于集合{1,2,3,4,..18,35,36,53,54,85
V5ZSQ
·
2015-09-08 08:00
POJ 2871 A Simple Question of
Chemistry
(水~)
Description给出一个数列,依次输出相邻两数的差值Input数列长度未知,每行一个浮点数,以999结束输入Output输出相邻两个数的差值,以EndofOutput结束输出SampleInput10.012.0530.2520999SampleOutput2.0518.20-10.25EndofOutputSolutionCode#include intmain() { floatn,nn
V5ZSQ
·
2015-08-29 08:00
HDU 5347(MZL's
chemistry
-打表)
MZL'schemistryTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):629 AcceptedSubmission(s):449ProblemDescriptionMZLdefineF(X)asthefirstionizationenergyoft
nike0good
·
2015-08-22 18:00
CF #312.div2 -Amr and
Chemistry
-暴力+位运算
题意:给出n个数,让你通过下面两种操作,把它们转换为同一个数。求最少的操作数。 1.ai=ai*2 2.ai=ai/2,向下取整没什么思路,后来看到别人是这样暴力过的:用左移右移来代替乘除2vis[i]表示i这个数可以由几个数转化而来cnt[i]表示题目给出的n个数全部转化为i需要的操作数。设输入n个数最大为maxx对于最后转化的结果的范围,应该是1到2*maxx(0或大于maxx*2都不是最优的
viphong
·
2015-08-18 11:00
DZY Loves
Chemistry
DZYLovesChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDZYloveschemistry,andheenjoysmixingchemicals.DZYhasnchemicals,andmpairsofthemwillreact.Hewan
huayunhualuo
·
2015-08-08 15:00
hdu 5347 MZL's
chemistry
2015多校联合训练赛#5 打表
MZL'schemistryTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):385 AcceptedSubmission(s):314ProblemDescriptionMZLdefine F(X) asthefirstionizationenergyo
firenet1
·
2015-08-06 09:00
HDU
HDU
5347
2015多校联合训练赛
hdu 5347 MZL's
chemistry
(水)
题目链接:hdu5347MZL'schemistry#include #include #include usingnamespacestd; doubleF[100]; intmain(){ F[1]=1312; F[2]=2372; F[3]=520; F[4]=899; F[5]=800; F[6]=1086; F[7]=1402; F[8]=1313; F[9]=1681; F[10
u011328934
·
2015-08-05 15:00
HDU 5347 MZL's
chemistry
(高三化学选修题)
MZL'schemistryTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)ProblemDescriptionMZLdefine F(X) asthefirstionizationenergyofthechemicalelement XNowhegettwochemicalelements U,
queuelovestack
·
2015-08-04 23:00
ACM
水题
化学
HDU 5347 MZL's
chemistry
ProblemDescriptionMZLdefine F(X) asthefirstionizationenergyofthechemicalelement XNowhegettwochemicalelements U,V,givenastheiratomicnumber,hewantstocompare F(U) and F(V)Itisguaranteedthatatomicnumbersb
jtjy568805874
·
2015-08-04 20:00
HDU
HDU 5347 MZL's
chemistry
分析:输入两个数字,让你比较这两个数字所代表的原子序数的第一电离能的大小,保证输入的两个数字的原子序数为同一主族或同一周期。第一电离能的规律为,同主族自上而下依次递减,同周期自左而右大致递增,特例为第二三周期的第3主族的比第2主族的小,第6主族的比第5主族的小,因为当核外原子轨道达到全满或半满的状态时,原子的能量较低,第一电离能较大,知道了这些就好办了,看代码:#include intmain()
ZengAMing
·
2015-08-04 19:00
ACM
HDU5347 多校赛1005 MZL's
chemistry
哈哈,还得靠惊人的记忆力啊ProblemDescription MZLdefine F(X)asthefirstionizationenergyofthechemicalelement X Nowhegettwochemicalelements U,V,givenastheiratomicnumber,hewantstocompare F(U)a
Code_KK
·
2015-08-04 15:00
Amr and
Chemistry
(数论+位运算)
Descriptionn个数,每个数可以进行两次操作,第一种操作是翻倍,第二种操作是减半(取整),问最少操作数使这n个数变成同一个数Input第一行为一个整数n,第二行为n个整数Output输出最少操作数SampleInput3356SampleOutput5Solution可以除以二或者乘以二,就相当于位运算的右移和左移。用两个数组,vis数组,cnt数组,刚开始都初始化为0,vis[i]表示i
V5ZSQ
·
2015-07-27 11:00
Codeforces 558C - Amr and
Chemistry
(枚举)
枚举每个数乘二和除二过程中所能到达的所有数,并记录到达时的步数,最后统计在所有数都能到达的数字中步数和最小的数字。因为只有*2和/2的操作,所以往大往小都是log级的。注意,如果一个数是奇数,那么它本身一直乘二所能到达的数字,和它除2向下取整再一直乘二所能到达的数字是完全不相同的。因为在二进制下除二后相当于左移把末尾的1弄没了,以后再右移时前缀都不一样了。所以在向下除的过程中每次遇到奇数都要处理一
Baoli1008
·
2015-07-24 12:00
Amr and
Chemistry
暴力+二进制
链接:http://codeforces.com/problemset/problem/558/CC.AmrandChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAmrlovesChemistry,andspeciallydoingexperime
u013532224
·
2015-07-16 14:00
二进制
暴力
Amr and
Chemistry
(位运算)
题目链接:点击打开链接题目大意:给出一些数,他们能做的操作是左移和右移,问最少做多少次操作能把他们都变成相同的数题目分析:首先要知道,左移的话的只是在二进制数末尾填0,而右移则要根据末尾是0还是1,如果是1的话,那么再左移的话会得到完全不同的结果,如果是0的话,那么再左移只是还原没有意义。所以做法就是对初始的数左移得到的数全是最短距离,然后右移得到的数去全是最短操作数,然后每次右移吞掉1的时候,再
qq_24451605
·
2015-07-16 09:00
位运算
C++
暴力 + 贪心 --- Codeforces 558C : Amr and
Chemistry
Amr and
Chemistry
Problem's Link: http://codeforces.com/problemset/problem/558/C Mean: 
·
2015-07-16 00:00
codeforces
Codeforces 558C Amr and
Chemistry
规律
题目链接题意:给定n长的序列每次可以选一个数让其*=2或者/=2问至少操作多少次使得所有数相等。思路:对于每个数,计算出这个数可以变成哪些数,以及变成那个数的最小步数。cnt[i]表示序列中有cnt个数可以变成istep[i]表示能变成i的那些数变成i的花费和是多少。notice:ifa[i]==7,a[i]alsocanreach6.by/=2then*=27->3->1..3->6->121-
qq574857122
·
2015-07-15 22:00
CF 558C(Amr and
Chemistry
-构造法)
C.AmrandChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAmrlovesChemistry,andspeciallydoingexperiments.Heispreparingforanewinterestingexperiment.Amr
nike0good
·
2015-07-15 17:00
Amr and
Chemistry
dp 搜索
C.AmrandChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAmrlovesChemistry,andspeciallydoingexperiments.Heispreparingforanewinterestingexperiment.Amr
u010422038
·
2015-07-15 16:00
Amr and
Chemistry
time limit per test
AmrlovesChemistry,andspeciallydoingexperiments.Heispreparingforanewinterestingexperiment.Amrhasndifferenttypesofchemicals.Eachchemicalihasaninitialvolumeofailiters.Forthisexperiment,Amrhastomixallthec
kl28978113
·
2015-07-15 14:00
Amr and
Chemistry
timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAmrlovesChemistry,andspeciallydoingexperiments.Heispreparingforanewinterestingexperiment.Amrhas n differentty
Kirito_Acmer
·
2015-07-15 12:00
codeforces
Amr and
Chemistry
(Codeforces Round #312(div2))
C.AmrandChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputAmrlovesChemistry,andspeciallydoingexperiments.Heispreparingforanewinterestingexperiment.Amr
caduca
·
2015-07-15 09:00
Algorithm
编程
算法
ACM
codeforces
python
tup1=('physics','
chemistry
',1997,2000);tup2=(1,2,3,4,5);tup3="a","b","c","d";元组与字符串类似,下标索引从0开始,可以进行截取
苏豪
·
2015-07-09 11:00
Python中List(列表)和tuple(元组)的差别
初看起来,除了语法结构上的区别tupletup1=(‘physics’,‘
chemistry
’,1997,2000);tup2=(1,2,3,4,5);tup3=“a”,“b”,“c”,“d”;listlist1
Del_Zhu
·
2015-05-16 21:04
python
python 元组详解
如下实例:tup1=('physics','
chemistry
',1997,2000); tup2=(1,2,3,4,5); tup3="a","b","c","d";创建空元组tup1=();元组中只包含一个元素时
u013372487
·
2015-04-22 10:00
并列统计CASE WHEN
selectsum(casewhendepart='Physical'then1else0end)PhyTotal, sum(casewhendepart='
Chemistry
'then1else0end
理工紫
·
2015-04-16 14:00
codeforces 445B DZY Loves
Chemistry
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.text.DecimalFormat; public class CF445B { static int[] f = new int[51]; public static void m
页永仲
·
2015-01-15 10:00
Python 元组
如下实例:tup1 = ('physics', '
chemistry
', 1997, 2000); tup2 = (1, 2, 3, 4, 5 ); tup3 = "a", "b", "c", "d";
chengxuyonghu
·
2014-09-02 15:43
python
元组
CodeFroces 445B DZY Loves
Chemistry
B.DZYLovesChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDZYloveschemistry,andheenjoysmixingchemicals.DZYhas n chemicals,and m pairsofthemwillreact
Tc_To_Top
·
2014-08-11 20:00
并查集
codeforces
Python 元组day10
如下实例:tup1=('physics','
chemistry
',1997,2000);tup2=(1,2,3,4,5);tup3="a","b","c","d";创建空元组tup1=();元组中只包含一个元素时
weixin_33712881
·
2014-08-04 22:30
python
Python 元组day10
如下实例:tup1=('physics','
chemistry
',1997,2000);tup2=(1,2,3,4,5);tup3="a","b","c","d";创建空元组tup1=();元组中只包含一个元素时
扣扣阳
·
2014-08-04 22:30
字符串
元素
Codeforces 445B DZY Loves
Chemistry
(并查集)
题目链接:Codeforces445BDZYLovesChemistry题目大意:有若干种化学药品,给出两两会反应的关系,现在要将药物依次放入一个容器中,容器中的化学药品可以互相反应,如果当前放入的药品能与已经在容器中的某一药品反应,那么危险值翻倍,即*2,初始值为1,求一顺序,使得为危险值最大。解题思路:并查集求最小联通分量s,2n−s即为答案。#include #include #includ
u011328934
·
2014-07-08 00:00
CF 445B(DZY Loves
Chemistry
-求连通块)
B.DZYLovesChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDZYloveschemistry,andheenjoysmixingchemicals.DZYhas n chemicals,and m pairsofthemwillreact
nike0good
·
2014-07-07 16:00
Codeforces - B - DZY Loves
Chemistry
【水题】
B.DZYLovesChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDZYloveschemistry,andheenjoysmixingchemicals.DZYhas n chemicals,and m pairsofthemwillreact
u011676797
·
2014-07-07 12:00
DZY Loves
Chemistry
(并查集)
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents题目链接:http://codeforces.com/problemset/problem/445/B--------------------------------------------------------------------------------------------
u012860063
·
2014-07-07 11:00
HDU
codeforces
DZY Loves
Chemistry
B.DZYLovesChemistrytimelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputDZYloveschemistry,andheenjoysmixingchemicals.DZYhas n chemicals,and m pairsofthemwillreact
u012964281
·
2014-07-07 08:00
C++
ACM
并查集
Python 元组(Tuple)操作详解
一、创建元组复制代码代码如下:tup1=('physics','
chemistry
',1997,2000);tup2=(1,2,3,4,5);tup3="a","b","c","d";创建空元组复制代码代码如下
·
2014-03-11 16:23
javamail向多人发送邮件例子代码
Java代码 package com.lccert.crm.
chemistry
.util; import java.util.Date; import java.util.Properties;
shaohan126448
·
2014-03-07 17:00
javamail
How to Develop the "likeability factor"in Office? 如何提高办公室的亲和力
You need to create
chemistry
with your staff as a manager, with your team as a project leader, with your
天堂有行
·
2014-03-05 14:00
Office
Python学习笔记(十七)----Python 元组
如下实例:tup1=('physics','
chemistry
',1997,2000); tup2=(1,2,3,4,5); tup3="a","b","c","d";1、创建空元组tup1=();元组中只包含一个元素时
u011655519
·
2013-12-27 19:00
python
元组
python元组
元组
元组的实例: tup1 = ('physics', '
chemistry
', 1997, 2000); tup2 = (1, 2, 3, 4, 5 ); tup3 = "
dongruan00
·
2013-12-25 13:00
C语言练习题目
#include #include voidmain() { char*s[4]={"english","math","
chemistry
","physics"},r[20],**q; inti; q=
wuxinliulei
·
2013-12-09 11:00
C++
C语言
HUNNU11342:
Chemistry
(模拟)
http://acm.hunnu.edu.cn/online/?action=problem&type=show&id=11342Problemdescription Thechemicalformulaofamolecule M describesitsatomicmake-up.Chemicalformulasobeythefollowinggrammar:M:=G|MG G:=S|SC
libin56842
·
2013-08-29 20:00
模拟
Savitzky-Golay 滤波器
Savitzky-Golay滤波器(通常简称为S-G滤波器)最初由Savitzky和Golay于1964年提出,发表于Analytical
Chemistry
杂志。
liyuanbhu
·
2013-06-14 15:00
python的list 和tuple
有六种基本的序列化结构类型,最常用的是list和tuplelist是最通用的数据类型,list以逗号分隔,方括号包围,一个列表可以放任意类型的值下面创建一个有四个元素的listlist1=['physics','
chemistry
zhangbaoming815
·
2012-08-25 16:00
python
list
Tuple
poj 2871 A Simple Question of
Chemistry
//注意输入的格式即可! #include #include usingnamespacestd; intmain() { doublenum1,num2,ans; boolflag=false; while(1){ if(!flag){ cin>>num1; flag=true; } if(num1==999)break; cin>>num2; ans=num2-num1; num1=num2
yzl_rex
·
2012-06-17 16:00
System
output
alfresco-webservice和cmis操作alfresco的space
alfresco的space 所需jar包 alfresco-web-services-client-3.4.d.jar alfresco-opencmis-extension-0.2.jar
chemistry
-opencmis-client-api
猫不吃的鱼
·
2012-05-22 01:00
webservice
space
alfresco
cmis
期刊 三个月左右
期刊名 ASIAN JOURNAL OF
CHEMISTRY
出版周期 Bimonthly 出版ISSN 0970-7077 通讯方式 ASIAN JOURNAL OF
CHEMISTRY
,
endual
·
2011-10-01 08:00
期刊 三个月左右
期刊名 ASIAN JOURNAL OF
CHEMISTRY
出版周期 Bimonthly 出版ISSN 0970-7077 通讯方式 ASIAN JOURNAL OF
CHEMISTRY
,
endual
·
2011-10-01 08:00
上一页
1
2
3
4
5
6
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他