摘要:
我的B站主頁:https://space.bilibili.com/611212 我的微信公眾號:QSC的算法講堂 我的QQ群:728615719 我的知乎:qscqesze 【背景】 我已經畢業兩年了,正所謂金三銀四,現在正是刷題跳槽的好時節。 上周同組的兄弟也講了一下做自媒體的好處,所以我也開始
閱讀全文
posted @ 2020-01-14 16:40
qscqesze
閱讀(3327)
推薦(3)
摘要:
我是qscqesze,大家可以叫我qsc 名字是隨便亂打出來的,如果強行說一個理由的話:這幾個字符在鍵盤上是一個X形狀。 更新,現在更清楚了自己的定位,變成了推薦架構工程師了,專注于推薦底層開發。 // 現在是一名算法工程師,機器學習方向,工作日常是洗數據。 // 每天都在思考自己為什么還沒被公司開
閱讀全文
posted @ 2015-05-13 20:07
qscqesze
閱讀(6898)
推薦(20)
摘要:
一款將象形漢字同 Wordle 猜測結合起來的猜成語小游戲 ——《詞影》 目前還在內測中,歡迎大家試玩,還望各位拍磚 Orz 游戲關鍵詞 類 wordle 象形文字 每天十局 體驗地址 掃描下方二維碼,或者打開鏈接 https://cy.surprising.studio 即可體驗
閱讀全文
posted @ 2022-03-24 11:01
qscqesze
閱讀(995)
推薦(0)
posted @ 2021-10-26 18:54
qscqesze
閱讀(0)
推薦(0)
摘要:
B. Glass Half Spilled There are 𝑛 glasses on the table numbered 1,…,𝑛. The glass 𝑖 can hold up to 𝑎𝑖 units of water, and currently contains 𝑏𝑖
閱讀全文
posted @ 2020-12-23 10:57
qscqesze
閱讀(405)
推薦(0)
摘要:
E. Plan of Lectures Ivan is a programming teacher. During the academic year, he plans to give 𝑛 lectures on 𝑛 different topics. Each topic should be
閱讀全文
posted @ 2020-12-19 01:32
qscqesze
閱讀(255)
推薦(0)
摘要:
E. Water Level In recent years John has very successfully settled at his new job at the office. But John doesn't like to idly sit around while his cod
閱讀全文
posted @ 2020-12-16 01:08
qscqesze
閱讀(224)
推薦(2)
摘要:
D. Cakes for Clones You live on a number line. You are initially (at time moment 𝑡=0) located at point 𝑥=0. There are 𝑛 events of the following typ
閱讀全文
posted @ 2020-12-14 21:07
qscqesze
閱讀(227)
推薦(0)
摘要:
其他寫的比較好的文章:http://www.rzrgm.cn/snowater/p/8024776.html 我在一次多線程讀寫map的時候,然后再遍歷的時候也遇到了該問題。 現場代碼 private ConcurrentHashMap<Long, Set<Long>> m = new Co
閱讀全文
posted @ 2020-11-26 20:44
qscqesze
閱讀(226)
推薦(1)
摘要:
DCAF: A Dynamic Computation Allocation Framework for Online Serving System 論文地址:https://arxiv.org/pdf/2006.09684.pdf 來源:DLP-KDD 2020 阿里巴巴論文 摘要 現代大規模在線
閱讀全文
posted @ 2020-11-03 14:32
qscqesze
閱讀(1633)
推薦(0)
摘要:
路西德的過去 路西德屬于精靈族,誕生于埃歐雷,埃歐雷是精靈王國,埃歐雷在魔法密林的旁邊。她與赫麗娜(射手村弓箭手的轉職教官)是童年的伙伴,既是朋友,也是競爭對手。 當時埃歐雷的女王是雙弩精靈,雙弩精靈的名字叫做梅賽德斯。路西德小時候特別希望得到女王雙弩精靈的贊賞,為此她和赫麗娜一直在暗中較勁。然而路
閱讀全文
posted @ 2020-04-06 00:34
qscqesze
閱讀(3295)
推薦(1)
摘要:
看錯題系列 cf622C C2. Skyscrapers (hard version) 看成了 對于所有的i不能滿足a[i 1] a[i]&&a[i] using namespace std; const int maxn = 5e5+7; int n,m[maxn]; long long ans,
閱讀全文
posted @ 2020-02-23 23:53
qscqesze
閱讀(575)
推薦(1)
摘要:
F. Coffee Varieties time limit per test1 second memory limit per test256 megabytes This is the easy version of the problem. You can find the hard vers
閱讀全文
posted @ 2020-02-03 19:47
qscqesze
閱讀(608)
推薦(0)
摘要:
E. Prefix Enlightenment time limit per test3 seconds memory limit per test256 megabytes There are n lamps on a line, numbered from 1 to n. Each one ha
閱讀全文
posted @ 2020-02-03 19:37
qscqesze
閱讀(693)
推薦(3)
摘要:
D. Irreducible Anagrams time limit per test2 seconds memory limit per test256 megabytes Let's call two strings s and t anagrams of each other if it is
閱讀全文
posted @ 2020-02-03 19:31
qscqesze
閱讀(546)
推薦(0)
摘要:
C. Mind Control time limit per test1 second memory limit per test256 megabytes You and your n?1 friends have found an array of integers a1,a2,…,an. Yo
閱讀全文
posted @ 2020-02-03 19:23
qscqesze
閱讀(586)
推薦(2)
摘要:
B. Array Sharpening time limit per test1 second memory limit per test256 megabytes You're given an array a1,…,an of n non negative integers. Let's cal
閱讀全文
posted @ 2020-02-03 19:12
qscqesze
閱讀(408)
推薦(0)
摘要:
A. Even But Not Even time limit per test1 second memory limit per test256 megabytes Let's define a number ebne (even but not even) if and only if its
閱讀全文
posted @ 2020-02-03 19:08
qscqesze
閱讀(537)
推薦(0)
摘要:
第三章 代碼的壞味道 3.1 神秘命名 命名是編程中很難的事情,所以最常用的重構手段就是去改個名字。 如果你發現改名很難,那就說明代碼設計有問題。 3.2 重復代碼 同一類的兩個函數含有相同的表達式,就應該提煉。 3.3 過長函數 活得最長,最好的函數,一般都很短。 如果你覺得需要寫注釋,大部分情況
閱讀全文
posted @ 2020-01-14 18:45
qscqesze
閱讀(486)
推薦(0)
摘要:
第二章 重構的原則 2.1 何謂重構 重構分為了動詞和名詞兩種意義。 重構(名詞):對軟件內部結構的一種調整,目的是不改變軟件可觀察行為的前提下,提高其可理解性,降低修改成本。 (問題來了,重構真的降低了可理解性嗎) 重構(動詞):使用一系列重構首發,在不改變軟件可觀察行為的前提下,調整其結構。 重
閱讀全文
posted @ 2020-01-14 18:19
qscqesze
閱讀(516)
推薦(1)
摘要:
鏈接: https://pan.baidu.com/s/1b3cTGmABb66zeCV 5DY LQ 提取碼: 6a9n 里面存在的個人觀點,我都會用斜體來表示。 重要的結論,我會用粗體表示。 序言 開篇講了一個故事,說一個顧問建議一個團隊去重構,重構使得代碼變得更美了,但重構花費了時間,并沒有新
閱讀全文
posted @ 2020-01-14 16:39
qscqesze
閱讀(531)
推薦(0)
摘要:
F. Economic Difficulties An electrical grid in Berland palaces consists of 2 grids: main and reserve. Wires in palaces are made of expensive material,
閱讀全文
posted @ 2019-11-30 11:43
qscqesze
閱讀(640)
推薦(1)
摘要:
E. Editor The development of a text editor is a hard problem. You need to implement an extra module for brackets coloring in text. Your editor consist
閱讀全文
posted @ 2019-11-30 11:38
qscqesze
閱讀(708)
推薦(1)
摘要:
D. Secret Passwords One unknown hacker wants to get the admin's password of AtForces testing system, to get problems from the next contest. To achieve
閱讀全文
posted @ 2019-11-30 11:33
qscqesze
閱讀(571)
推薦(0)
摘要:
C. Everyone is a Winner! On the well known testing system MathForces, a draw of n rating units is arranged. The rating will be distributed according t
閱讀全文
posted @ 2019-11-30 11:30
qscqesze
閱讀(745)
推薦(0)
摘要:
B. PIN Codes A PIN code is a string that consists of exactly 4 digits. Examples of possible PIN codes: 7013, 0000 and 0990. Please note that the PIN c
閱讀全文
posted @ 2019-11-30 11:26
qscqesze
閱讀(578)
推薦(1)
摘要:
A. Sweet Problem the first pile contains only red candies and there are r candies in it, the second pile contains only green candies and there are g c
閱讀全文
posted @ 2019-11-30 11:23
qscqesze
閱讀(510)
推薦(0)
摘要:
F2. Wrong Answer on test 233 (Hard Version) Your program fails again. This time it gets "Wrong answer on test 233" . This is the harder version of the
閱讀全文
posted @ 2019-11-24 23:26
qscqesze
閱讀(691)
推薦(2)
摘要:
E. Arson In Berland Forest The Berland Forest can be represented as an infinite cell plane. Every cell contains a tree. That is, contained before the
閱讀全文
posted @ 2019-11-24 23:17
qscqesze
閱讀(484)
推薦(0)
摘要:
D2. Optimal Subsequences (Hard Version) This is the harder version of the problem. In this version, 1≤n,m≤2?105. You can hack this problem if you lock
閱讀全文
posted @ 2019-11-24 23:11
qscqesze
閱讀(373)
推薦(0)
摘要:
C. Messy You are fed up with your messy room, so you decided to clean it up. Your room is a bracket sequence s=s1s2…sn of length n. Each character of
閱讀全文
posted @ 2019-11-24 23:07
qscqesze
閱讀(418)
推薦(1)
摘要:
B. Box Permutation p is a sequence of integers p=[p1,p2,…,pn], consisting of n distinct (unique) positive integers between 1 and n, inclusive. For exa
閱讀全文
posted @ 2019-11-24 23:02
qscqesze
閱讀(400)
推薦(0)
摘要:
A. Math Problem Your math teacher gave you the following problem: There are n segments on the x axis, [l1;r1],[l2;r2],…,[ln;rn]. The segment [l;r] inc
閱讀全文
posted @ 2019-11-24 22:59
qscqesze
閱讀(365)
推薦(0)
摘要:
E. The Contest A team of three programmers is going to play a contest. The contest consists of 𝑛 problems, numbered from 1 to 𝑛. Each problem is pri
閱讀全文
posted @ 2019-11-14 19:43
qscqesze
閱讀(472)
推薦(0)
摘要:
D. Yet Another Monster Killing Problem You play a computer game. In this game, you lead a party of 𝑚 heroes, and you have to clear a dungeon with 𝑛
閱讀全文
posted @ 2019-11-14 19:33
qscqesze
閱讀(734)
推薦(6)
摘要:
C. Dominated Subarray Let's call an array 𝑡 dominated by value 𝑣 in the next situation. At first, array 𝑡 should have at least 2 elements. Now, let
閱讀全文
posted @ 2019-11-14 18:01
qscqesze
閱讀(483)
推薦(2)
摘要:
B. Magic Stick Recently Petya walked in the forest and found a magic stick. Since Petya really likes numbers, the first thing he learned was spells fo
閱讀全文
posted @ 2019-11-14 17:52
qscqesze
閱讀(458)
推薦(0)
摘要:
A. Two Rival Students There are 𝑛 students in the row. And there are two rivalling students among them. The first one is in position 𝑎, the second i
閱讀全文
posted @ 2019-11-14 17:46
qscqesze
閱讀(406)
推薦(0)
摘要:
D. Catowice City In the Catowice city next weekend the cat contest will be held. However, the jury members and the contestants haven't been selected y
閱讀全文
posted @ 2019-11-13 18:05
qscqesze
閱讀(357)
推薦(0)
摘要:
我遇到的優秀年輕人的5個特質 (文章整理自一鳴同學在“2016今日頭條Bootcamp”上對研發&產品部門應屆畢業生的寄語) 大家好! 各位都非常年輕,我今天來的時候挺有壓力。因為我畢業快11年了,看到你們,真是覺得“長江后浪推前浪”。 我去年參加了武漢的校招,感覺新一代年輕人的素質確實都非常好。我
閱讀全文
posted @ 2019-11-13 16:36
qscqesze
閱讀(881)
推薦(1)
摘要:
我本身是一個非常普通的人。 有幸在兩年前通過自己算法競賽的底子,加入了今日頭條 ByteDance 公司。那時候還不叫字節跳動,單純的只是叫做今日頭條而已。那時候的抖音只有幾百萬dau,我們組也只有三個人而已,旗艦產品還是內涵段子呢。 我記得我剛剛加入公司,公司就組織了一次tb,讓我們去大草原上去玩
閱讀全文
posted @ 2019-11-13 16:14
qscqesze
閱讀(1751)
推薦(3)