原创 codeforces 884 D. Boxes And Balls

D. Boxes And Balls time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 2018年全國多校算法寒假訓練營練習比賽(第二場) B-TaoTao要喫雞

#include<bits/stdc++.h> using namespace std; int n,m,h; int v[105],w[105],dp[20500]; struct thing { int w,v; }a[

原创 Codeforces 888F. Connecting Vertices (Educational Codeforces Round 32 F. Connecting Vertices)

F. Connecting Vertices There are n points marked on the plane. The points are situated in such a way that the

原创 2019年北航、南大、東南、上科大及本校計算機系保研

  上海科技大學 第一站是上科大(2019.7.3),偶然機會聽說這個學校,之後發現來過我們學校招人。上科大的科研實力絕對認可,計算機視覺很強,有麻省理工與南陽理工大佬坐鎮(聽說人手CVPR頂會),同時錄取率也很低,上科大不統一面試,建

原创 hdu 3507 Print Article

  題意與思路:點擊打開鏈接   AC code   #include<cstdio> #include<iostream> #include<cstring> using namespace std; const int MAXN

原创 OpenARK安裝教程

OpenARK安裝教程   1. CMake安裝 下載地址:https://cmake.org/download/ Ps:安裝時注意添加PATH to all user   2. PCL1.8安裝(不安裝在C盤) 下載地址:http://

原创 codeforces 884C. Bertown Subway

C. Bertown Subway time limit per test 1 second memory limit per test 256 megabytes input standard input o

原创 codeforces 701 D. As Fast As Possible

題目: 點擊打開鏈接 參見下面的博客: 點擊打開鏈接 AC code #include<bits/stdc++.h> using namespace std; int main() { int n, k; double l,

原创 codeforces 887 C. Solution for Cube(Codeforces Round #444 (Div. 2))

C. Solution for Cube time limit per test 2 seconds memory limit per test 256 megabytes input standard input ou

原创 Rodrigues公式推導

最近在看立體視覺的相關內容,在完成了雙目相機的標定之後直接面臨的一個問題就是關於圖像校正(行對準),由於標定出來的R是按照om矩陣的形式出現的,所以需要預先使用羅德里格斯公式計算,於是就推導了一下公式。   點贊 收

原创 2019 北航、南大、東南、上科大及本校(蘇大)計算機系保研

  上海科技大學 第一站是上科大,偶然的機會聽說這個學校。上科大的科研實力我絕對認可,計算機視覺很強,畢竟有麻省理工與南陽理工大佬坐鎮,不過本人比較菜,沒有機會去CV組(外校同學都tql)。之後去找了金融課題組,面試是兩個老師,中文介紹完

原创 實習面試題——字符串

Manacher最長迴文子串: 本人學習鏈接: https://www.cnblogs.com/BCOI/p/8971570.html(模板) https://blog.csdn.net/weixin_42373330/article/d

原创 CodeforcesD2. RGB Substring (hard version)

題目入口 解法: 這個題還有一個easy版本的。 1. 首先應該知道怎麼計算替換次數:因爲要保持順序,所以只要將長度相同的兩個串進行對應位置一一對比,不相同的就計數,之後比較計數最小的就行了。 2. 拿什麼比較?因爲是RGBGB...依次

原创 日常切LeetCode水題?(Python)

135.Candy # Share # There are N children standing in a line. Each child is assigned a rating value. # # You are givin

原创 Codeforces1157E. Minimum Array

題目:http://codeforces.com/contest/1157/problem/E 題意:給定整數型n,a與b數組長度均爲n,其中的a與b中的每個元素大小爲0<= a[i] (或者b[i]) <n,現在可以改變b數組的元素順序