05 2017 档案
摘要:今年,百度的科学计算器进行了重大更新,可以计算更为复杂的表达式了。 定义表达式中存在加减运算、括号、函数调用、强制类型转换这几种运算。其中数值的类型有整型与浮点型两种。并且, 整型与整型加减运算的结果为整型; 整型与浮点型加减运算结果为浮点型; 浮点型与浮点型加减运算结果为浮点型。 强制类型转换符
阅读全文
摘要:Problem Description A school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N-1 new co
阅读全文
摘要:Highway Accepted : 122 Submit : 393 Time Limit : 4000 MS Memory Limit : 65536 KB Highway Highway In ICPCCamp there were n towns conveniently numbered
阅读全文
摘要:Strange Optimization Accepted : 89 Submit : 350 Time Limit : 1000 MS Memory Limit : 65536 KB Strange Optimization Strange Optimization Bobo is facing
阅读全文
摘要:Partial Sum Accepted : 124 Submit : 450 Time Limit : 3000 MS Memory Limit : 65536 KB Partial Sum Partial Sum Bobo has a integer sequence a1,a2,…,an of
阅读全文
摘要:Super Resolution Accepted : 133 Submit : 203 Time Limit : 1000 MS Memory Limit : 65536 KB Super Resolution Super Resolution Bobo has an n×m picture co
阅读全文
摘要:Coprime Sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 545 Accepted Submission(s): 19
阅读全文
摘要:Automatic Judge Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 827 Accepted Submission(s): 284
阅读全文
摘要:Description You are given positive integer number n. You should create such strictly increasing sequence of k positive numbersa1, a2, ..., ak, that th
阅读全文
摘要:Description You are given the array of integer numbers a0, a1, ..., an - 1. For each element find the distance to the nearest zero (to the element whi
阅读全文
摘要:Description You are given matrix with n rows and n columns filled with zeroes. You should put k ones in it in such a way that the resulting matrix is
阅读全文