Min Number

Now you are given one non-negative integer n in 10-base notation, it will only contain digits ('0'-'9'). You are allowed to choose 2 integers i and j, such that: i!=j, 1≤i<j≤|n|, here |n| means the length of n’s 10-base notation. Then we can swap n[i] and n[j].

For example, n=9012, we choose i=1, j=3, then we swap n[1] and n[3], then we get 1092, which is smaller than the original n.

Now you are allowed to operate at most M times, so what is the smallest number you can get after the operation(s)?

Please note that in this problem, leading zero is not allowed!

The first line of the input contains an integer T (T≤100), indicating the number of test cases.

Then T cases, for any case, only 2 integers n and M (0≤n<10^1000, 0≤M≤100) in a single line.

For each test case, output the minimum number we can get after no more than M operations.
Sample Input
9012 0
9012 1
9012 2
Sample Output


Csdn user default icon

<div class="post-text" itemprop="text"> <p>I want to find the maximum and minimum value by the for loop, but problem is that when array value is start from a maximum number like (100,30,50,60) then output is the correct first maximum value then, minimum value. </p> <p>Otherwise output first minimum value, then maximum value. </p> <p>any idea?</p> <pre><code> //Number serial. $number = array(10,15,20,100,25,30); for ($i=0; $i&lt;count($number); $i++){ //Find maximum number by max function. if ($number[$i] == max($number)){ //Print maximum number. echo " The max number is $number[$i] &lt;br&gt;" ; } //Find minimum number by min function. elseif ($number[$i] == min($number)) { //Print minimum number. echo " The min number is $number[$i] &lt;br&gt;"; } } //Output: //The min number is 10 //The max number is 100 </code></pre> <p>When array value is start from a maximum number. </p> <pre><code> //Number serial. $number = array(100,10,15,20,25,30); for ($i=0; $i&lt;count($number); $i++){ //Find maximum number by max function. if ($number[$i] == max($number)){ //Print maximum number. echo " The max number is $number[$i] &lt;br&gt;" ; } //Find minimum number by min function. elseif ($number[$i] == min($number)) { //Print minimum number. echo " The min number is $number[$i] &lt;br&gt;"; } } //Output: //The max number is 100 //The min number is 10 </code></pre> </div>


CursorIndexOutOfBoundsException: Index 118 requested, with a size of 118 在数据库中是有第118号元素,但如果调用118号元素就会出错,minNumber是上界,maxNumber是下界,求解? ``` float maxBuffer = 0; float minBuffer =999999999; chemicalCursor.moveToPosition(this.minNumber); for(int i=this.minNumber;i<=this.maxNumber;i++) { if (chemicalCursor.moveToFirst()) { float numberBuffer = chemicalCursor.getFloat(chemicalCursor.getColumnIndex(this.columnName)); Log.d("Buffer",numberBuffer+""); if(numberBuffer>maxBuffer){ maxBuffer = numberBuffer; Log.d("Buffer"," "+maxBuffer); } if(numberBuffer<minBuffer){ minBuffer = numberBuffer; Log.d("Buffer"," "+minBuffer); }} ```


#include<stdio.h> int maxnumber(int x,int y) { int a=0; a=x%y; while(a!=0) { a=x%y; x=y; y=a; } return y; } int minnumber(int x,int y) { int z; z=(x*y)/maxnumber(x,y); return z; } void main() { int maxnumber(int x,int y); int minnumber(int x,int y); int a=0,b=0,c,d; printf("请输入两个数\n"); scanf("%d%d",&a,&b); c=maxnumber(a,b); d=minnumber(a,b); printf("最大公约数为%d\n",c); printf("最小公倍数为%d\n",d); }


<div class="post-text" itemprop="text"> <p>So I have a table in mysql that has on it columns for a Minimum number and a maximum number.</p> <pre><code>| ID | MinNumber | MaxNumber | | 1 | 2 | 4 | | 2 | 3 | 7 | | 3 | 10 | 12 | </code></pre> <p>I want to get a list of numbers that is included in all ranges.</p> <p>So the list should look like: <code>2, 3, 4, 5, 6, 7, 10, 11, 12</code> Notice that 8 and 9 are missing because they are not within a range on the table.</p> <p>Is there an easy way to get this range?</p> <p>If it helps, I am trying to do this using PHP.</p> <p>EDIT: This needs to run optimally. The real table has over 200,000 rows in it and the ranges can be hundreds apart. Any way to cut down on the processing time for this would help a lot!</p> </div>


#include<stdio.h> int main() { int a[10],i,max,min,p_max=0,p_min=0; for(i=0;i<10;i++) scanf("%d",&a[i]); max=a[0]; min=a[0]; for(i=1;i<10;i++) { if(a[i]>max) { max=a[i]; p_max=i+1; } if(a[i]<min) { min=a[i]; p_min=i+1; } }printf("No.%d is the max number %d\n",p_max,max); printf("No.%d is the min number %d\n",p_min,min); } 为什么p_min是0啊?新手求解答

如何使用Laravel Faker在最小和最大字符数之间生成随机字符串

<div class="post-text" itemprop="text"> <p>I'm looking for a way to generate random string between min and max number of characters using laravel Faker. I have to create random strings between <code>4</code> and <code>20</code> characters. This method <code>str_random</code> will generate exactly 20 characters, but how to specify min number of characters?</p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php use Faker\Generator as Faker; $factory-&gt;define(App\User::class, function (Faker $faker) { return [ 'name' =&gt; str_random(20), ]; });</code></pre> </div> </div> <p>Updated: I'm using the following code now as a workaround:</p> <pre><code>'name' =&gt; substr($faker-&gt;name(), 0, rand(4, 20)) </code></pre> </div>

第8行value=*(*(a+i)); 这里最外层的*是不是多余的啊?谁能给我解释一下吗?

``` #include<stdio.h> #define N 4 void min(int (*a)[N],int m) /*自定义min函数,求二维数组中每行最小元素*/ { int value,i,j; for(i=0;i<m;i++) { value=*(*(a+i)); /*将每行中的首个元素赋给value*/我的理解:这里a+i表示第i行的首地址,加一个*就指向首地址的变量了,为什么最外层还有一个*? for(j=0;j<N;j++) if(*(*(a+i)+j)<value) /*判断其他元素是否小于value的值*/ value=*(*(a+i)+j); /*把比value小的数重新赋给value*/ printf("line %d:the min number is %d\n",i,value); } } main() { int a[3][N],i,j; int (*p)[N]; p=&a[0]; printf("please input:\n"); for(i=0;i<3;i++) for(j=0;j<N;j++) scanf("%d",&a[i][j]); /*给数组中的元素赋值*/ min(p,3); /*调用min函数,指针变量作函数参数*/ } ```


<div class="post-text" itemprop="text"> <p>I have the following array:</p> <pre><code>Array ( [0] =&gt; 124,95 [1] =&gt; 139,95 [2] =&gt; 149,95 [3] =&gt; 1200 [4] =&gt; 150 [5] =&gt; 154,95 [6] =&gt; 130 [7] =&gt; 189,95 [8] =&gt; 199,95 [9] =&gt; 30 [10] =&gt; 150 ) </code></pre> <p>And I am trying to get the lowest (30) and highest (1200) numbers from it.</p> <p>So I did this:</p> <pre><code>while($getpricesproducts = $getpricesproductscon-&gt;fetch_assoc()){ $prijsarray[] = $getpricesproducts['prijs']; } // Lowest and highest price to put in price slider $prijslow = min($prijsarray); $prijshigh = max($prijsarray); echo $prijslow; echo $prijshigh; </code></pre> <p><code>$prijsarray</code> is above array.</p> <p>But the echoed values are 30 as min number and 150 as max. Why is that? Does it have something to do with the commas in some numbers? Still it is weird that 1200 is not the max number since it does not have any commas.</p> </div>


<div class="post-text" itemprop="text"> <p>Script: (too large, didn't want to paste it and clutter this, sorry.) </p> <p><a href="http://pastebin.com/jhvgAqzj" rel="nofollow">http://pastebin.com/jhvgAqzj</a></p> <p>Well, for some reason $p is acting very very weird, the $p is set to 1 and should add 1 to itself when the 'next' button is pressed. Inversely should subtract 1 from $p when the 'prev' button is pressed.</p> <p>There are also 2 nested 'if' statements to prevent it from ever going over the max number or pictures, or under the min number of pictures.</p> <p>$p is the variable used to display the picture according to its ID type. </p> <p>For some reason, it will work until you get to picture 3, when you hit next, the variable jumps to 2. When you hit previous on 2, it jumps to 3. </p> <p>This is very confusing but we laughed when we tested it.</p> <p>Thanks for the help in advance!</p> </div>


<div class="post-text" itemprop="text"> <p>I know there are similar people that posted contact form help but I have an issue with mine. Everything works but when I submit I get an e-mail from apache that shows a blank message. However, when I use my own e-mail address in the form input , it works. </p> <p>Here is my code</p> <pre><code>&lt;?php if(isset($_POST['submit'])){} $name = $_POST['name']; $email = $_POST['email']; $minrooms=$_POST['mrooms']; $message = $_POST['comment']; $formcontent="From: $name Email: $email Min Number of Rooms: $minrooms Message: $message "; $recipient = "kellito13@gmail.com"; $subject = "Contact Form"; $mailHeader = "From: $email "; send_contact= mail($recipient, $subject, $formcontent, $mailHeader) or die("Error!"); echo "Thank You!"; } else{ echo"Error"; } ?&gt; </code></pre> </div>


``` number=[1,5,2,26,3,-1] def findMaxandMin(number): min=number[0] max=number[0] for x in number: if x>max : max=x if x<min : min=x return(min,max) print(findMaxandMin(number)) ```

input type="number" 定义默认值

``` <input class="form-control" type="number" name="points" value="1" min="1" data-ng-model="NoticeEditor.obj.limitation" /> ``` 设置默认值为1,不好使啊


to_char(min(a.l_entrust_time),'HH24:mm:ss') 其中a.l_entrust_time在数据库中为number类型,如:140930,想转为14:09:30应该怎么转换

为什么select min(id) 外面还要套一个select id in ?

![图片说明](https://img-ask.csdn.net/upload/201906/26/1561530114_447351.png) 为什么select min(id) 外面还要套一个select id in ?在select min id 中不是已经把符合要求的id都选出来了吗


环境是ASP.NET2.0,工具是VS2005,语言是C#。 TextBox控件默认生成的HTML代码是 ``` <input name="TextBox1" type="text" id="TextBox1" /> ``` 其中,type的值是text,我想让它变成type="number",这样在手机浏览器中输入法会自动跳转到数字输入区,而.NET2.0中TextBox控件的TextMode的值只有SingleLine、MultipleLine和Password三种而已,所以需要重写TextBox。 我百度了之后 ,很多人都说重写控件很简单的,但都没有给出怎么重写,我是小白,重写不知道怎么写、在哪儿写、怎么用?所以请将代码写一下(应该没有几句代码而已),再简单介绍一下怎么用。

Parameter index out of range (2 > number of parameters, which is 1)

最近在学jdbc,想把resultSet里列值放到map集合,但运行报错Parameter index out of range (2 > number of parameters, which is 1),求大神解决一下, ![图片说明](https://img-ask.csdn.net/upload/201907/17/1563375856_758206.png) ![图片说明](https://img-ask.csdn.net/upload/201907/17/1563375879_271764.png)

python问题There should be number after

#!/usr/bin/env python import rrdtool import time title="Server network traffic flow ("+time.strftime('%Y-%m-%d',time.localtime(time.time()))+")" "MINUTE:12" "HOUR:1" "HOUR:1" "0:%H" rrdtool.graph( "Flow.png", "--start","-ld","--vertical-lable=Bytes/s", "--x-grid","MINUTE:12:HOUR:1:HOUR:1:0:%H", "--width","650","--height","230","--title",title, "DEF:inoctets=Flow.rrd.eth0_in:AVERAGE", "DEF:outoctets=Flow.rrd:eth0_out:AVERAGE", "CDEF:total=inoctets,outoctets,+", "LINE1:total#FF8833:Total traffic", "AREA:inoctets#00FF00:In traffic", "LINE1:outoctets#0000FF:Out traffic", "HRULE:6144#FF0000:Alarm value\\r", "CDEF:inbits=inocets,8,*", "CDEF:outbits=outoctets,8,*", "COMMENT:\\r", "COMMENT:\\r", "GPRINT:inbits:AVERAGE:Avg In traffic\: %6.21f %Sbps", "COMMENT: ", "GPRINT:inbits:MAX:Max In traffic\: %6.21f %Sbps", "COMMENT: ", "GPRINT:inbits:MIN:MIN In traffic\: %6.21f %Sbps\\r", "COMMENT: ", "GPRINT:outbits:AVERAGE:Avg Out traffic\: %6.21f %Sbps", "COMMENT: ", "GPRINT:outbits:Max:Max Out traffic\: %6.21f %Sbps", "COMMENT: ", "GPRINT:outbits:MIN:MIN Out traffic\: %6.21f %Sbps" ) 最后一行报错rrdtool.OperationalError: start time: There should be number after '-' 求大神解答一下,不胜感激


<div class="post-text" itemprop="text"> <p>Im trying to get a list of products from our database, grouped on pattern ,and brand and using MIN() to get the lowest price of each pattern, Im using the query builder in codeIgniter 3 to build the following query which almost works as needed, except that the product ID does not match the lowest priced product, so when you click on a product rather than it going to the lowest priced product, it will go to another priced product albeit from the same brand and pattern.</p> <p>I know I need to use some kind of subquery, but everything i've tried so far seems to not give the correct number of products back? im just not sure how to apply it to MYSQL or codeIgniter 3, Any help would be very much appreciated. Im currently testing it in phpmyadmin, so an MYSQL example would be fine at this stage.</p> <p>Thank you</p> <pre><code> SELECT `id` , `title` , `image` , `category` , MIN( price ) AS `price` , `rrp` , `product_to_category`.`product_id` , LEFT( short_description, 140 ) AS description, `measurements` , `colour_names` , `colour_values` , `brand` , `pattern` FROM `products` JOIN `product_to_category` ON `id` = product_to_category`.`product_id` LEFT JOIN `product_short_descriptions` ON `product_short_descriptions`.`product_id` = `id` WHERE `category_id` =2 AND `status` = '1' AND `price` &gt;= '102.30' AND `price` &lt;= '804.10' GROUP BY `pattern` , `brand` ORDER BY `sort_order` , `price` ASC LIMIT 40 </code></pre> <p><strong>More Information</strong></p> <p>All data comes from the products table with the exception of the description which comes from the product_short_description table, and category_id which comes from the product_to_category table.</p> <p>those two tables are joined by product_id to products.id</p> <p>Here I can get the data I want, without the Joins:-</p> <pre><code>SELECT id, pattern, price FROM products p1 WHERE price = ( SELECT MIN( price ) FROM products AS p2 WHERE p2.pattern = p1.pattern ) AND `status` =1 AND material =713 </code></pre> <p>Note: material is added to substitute the category_id just for this example, as category 2 contains all products with material of 713.</p> <p>The question is how do I add my 2 Joins to this and keep the results the same, as when I try and add my joins, and other Where clauses but keep the same results, as when I try it, I end up with just 2 results instead of the expected 12, so im guessing im not adding my joins correctly.</p> <pre><code>SELECT `id`, `title`, `image`, `category`, price, `rrp`, `product_to_category`.`product_id`, LEFT(short_description, 140) as description, `measurements`, `colour_names`, `colour_values`, `brand`, `pattern` FROM `products` p1 JOIN `product_to_category` ON `id` = `product_to_category`.`product_id` JOIN `product_short_descriptions` ON `product_short_descriptions`.`product_id` = `id` WHERE `category_id` = 2 AND price = ( SELECT MIN( price ) FROM products AS p2 WHERE p2.pattern = p1.pattern ) AND `status` = '1' AND `price` &gt;= '102.30' AND `price` &lt;= '804.10' GROUP BY `pattern`, `brand` ORDER BY `sort_order`, `price` ASC LIMIT 40 </code></pre> <p>Above only shows 2 results instead of 12..</p> <p>Edit: I can see now why there is only 2 results, as the inner select is not looking in category_id of 2 , So when I thought i was looking at 12 results of correct data, I was infact only looking at 2, the other ten rows were coming from outside of category 2 so when I was saying only show category 2, this is why I was only seeing two results, adding a join within this select does solve the issue, but takes a massive performance hit so is unusable.</p> <p>How can the following query be rewritten for best performance? when categories can have upto 8000+ products</p> <pre><code> SELECT `id` , `title` , `image` , `category` , price, `rrp` , `product_to_category`.`product_id` , LEFT( short_description, 140 ) AS description, `measurements` , `colour_names` , `colour_values` , `brand` , `pattern` FROM `products` p1 JOIN `product_to_category` ON `id` = `product_to_category`.`product_id` JOIN `product_short_descriptions` ON `product_short_descriptions`.`product_id` = `id` WHERE `category_id` =2 AND price = ( SELECT MIN( price ) FROM products AS p2 JOIN product_to_category ptc ON id = ptc.product_id WHERE p2.pattern = p1.pattern AND category_id =2 ) AND `status` = '1' GROUP BY `pattern` , `brand` ORDER BY `sort_order` , `price` ASC LIMIT 40 </code></pre> </div>

Theano 报错:Wrong number of dimensions...

错误出现在:...(l2.b, l2.b - learning__rate * gb2)]) TypeError: ('Bad input argument to theano function with name "C:/Users/Administrator/Desktop/...python/theano/Regularization....py:66" at index 1(0-based)', 'Wrong number of dimensions: expected 2, got 1 with shape (200,).') ```__ import theano from sklearn.datasets import load_boston import theano.tensor as T import numpy as np import matplotlib.pyplot as plt class Layer(object):#定义神经层 def __init__(self, inputs, in_size, out_size, activation_function=None): self.W = theano.shared(np.random.normal(0, 1, (in_size, out_size))) self.b = theano.shared(np.zeros((out_size, )) + 0.1) self.Wx_plus_b = T.dot(inputs, self.W) + self.b self.activation_function = activation_function if activation_function is None: self.outputs = self.Wx_plus_b else: self.outputs = self.activation_function(self.Wx_plus_b) def minmax_normalization(data):#正则化数据 xs_max = np.max(data, axis=0) xs_min = np.min(data, axis=0) xs = (1 - 0) * (data - xs_min) / (xs_max - xs_min) + 0 return xs N=400 feats=28 lamda=0.1 np.random.seed(100) x_data = rng.randn(N, feats) x_data = minmax_normalization(x_data) y_data = rng.randint(size=N, low=0, high=2) x_train, y_train = x_data[:200], y_data[:200] x_test, y_test = x_data[200:], y_data[200:] x = T.dmatrix("x") y = T.dmatrix("y") l1 = Layer(x, 13, 50, T.tanh) l2 = Layer(l1.outputs, 50, 1, None) cost = T.mean(T.square(l2.outputs - y)) + lamda * ((l1.W ** 2).sum() + (l2.W ** 2).sum()) gW1, gb1, gW2, gb2 = T.grad(cost, [l1.W, l1.b, l2.W, l2.b]) learning_rate = 0.01 train = theano.function( inputs=[x, y], updates=[(l1.W, l1.W - learning_rate * gW1), (l1.b, l1.b - learning_rate * gb1), (l2.W, l2.W - learning_rate * gW2), (l2.b, l2.b - learning_rate * gb2)]) compute_cost = theano.function(inputs=[x, y], outputs=cost) train_err_list = [] test_err_list = [] learning_time = [] for i in range(1000): train(x_train, y_train) if i % 10 == 0: # record cost train_err_list.append(compute_cost(x_train, y_train)) test_err_list.append(compute_cost(x_test, y_test)) learning_time.append(i) plt.plot(learning_time, train_err_list, 'r-') plt.plot(learning_time, test_err_list, 'b--') plt.show() ``` __


今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...




文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Intellij IDEA 实用插件安利

1. 前言从2020 年 JVM 生态报告解读 可以看出Intellij IDEA 目前已经稳坐 Java IDE 头把交椅。而且统计得出付费用户已经超过了八成(国外统计)。IDEA 的...



总结了 150 余个神奇网站,你不来瞅瞅吗?



提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...






私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...


据羊城晚报报道,近日中芯国际从荷兰进口的一台大型光刻机,顺利通过深圳出口加工区场站两道闸口进入厂区,中芯国际发表公告称该光刻机并非此前盛传的EUV光刻机,主要用于企业复工复产后的生产线扩容。 我们知道EUV主要用于7nm及以下制程的芯片制造,光刻机作为集成电路制造中最关键的设备,对芯片制作工艺有着决定性的影响,被誉为“超精密制造技术皇冠上的明珠”,根据之前中芯国际的公报,目...


场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...


阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...


不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...






当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...


HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...




爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4


最近微信又搞出了一个大利器,甚至都上了热搜,当然消息最敏捷的自媒体人,纷纷都开通了自己的视频号。01 视频号是什么呢?视频号是微信体系内的短视频,它不同...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?



你好,我是Vam的金豆之路,可以叫我豆哥。2019年年度博客之星、技术领域博客专家。主要领域:前端开发。我的微信是 maomin9761,有什么疑问可以加我哦,自己创建了一个微信技术交流群,可以加我邀请你一起交流学习。最后自己也创建了一个微信公众号,里面的文章是我自己精挑细选的文章,主要介绍各种IT新技术。欢迎关注哦,微信搜索:臻美IT,等你来。 欢迎阅读本博文,本博文主要讲述【】,文字通...




已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...


前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...


在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...