原创 華爲雲學生機體驗
通過牛客網買了一年的華爲雲學生機,裝的是ubuntu18.04的系統,用來學習一下服務器的操作。 rz sz 連上之後第一個目標是安裝rz和sz命令用於從上傳和下載文件 一開始直接 apt-get install lrzsz 報
原创 樹狀數組模板(C++版)
n是數組長度,a數組是原數列,c數組是輔助數組(樹狀數組,在第一種模板中表示前綴和,第二種模板中表示區間最大值),也就是樹狀數組的節點 單點更新和區間求和 #include <bits/stdc++.h> using namesp
原创 deepin上手體驗(防止下次重裝系統又得東找西找)
第二次裝deepin,感覺更舒服了,輸入法字體也比ubuntu好看,命令行也比ubuntu流暢,更別說比win10了,win10的命令行簡直了 新博客 chrome 發現自帶了chrome,想登錄google賬git號同步一下wi
原创 hdu4283——You Are the One
#include <bits/stdc++.h> using namespace std; const int N=105; const int INF=0x3f3f3f3f; int t,n; int v[N]; int dp[
原创 Codeforces1009A——Game Shopping
Maxim wants to buy some games at the local game shop. There are n games in the shop, the i-th game costs ci. Maxim