原文:Gym 102028C - Supreme Command - [思維題][2018-2019 ACM-ICPC Asia Jiaozuo Regional Contest Problem C]

題目鏈接:https: codeforces.com gym problem C Lewis likes playing chess. Now he has n rooks on the chessboard with n rows and n columns. All rows of the chessboard are labelled with through n from top to b ...

2018-12-10 10:09 0 612 推薦指數:

查看詳情

2018-2019 ACM-ICPC, Asia Nanjing Regional Contest

https://codeforces.com/gym/101981 Problem A. Adrien and Austin 貪心,注意細節 f[x]=1:先手必贏。 f[x]: 分成兩部分(或一部分),長度分別為a和b,只要存在f[a] xor f[b]=0,則f[x ...

Sun Nov 18 07:38:00 CST 2018 0 720
2018-2019 ACM-ICPC, Asia Shenyang Regional Contest(補題)

A - Sockpuppets 未補 B - Sequences Generator 未補 C - Insertion Sort 簽到之一,排列計數。 題意:給你排列的長度$n$,要求你求出排列的個數,滿足對其前k項排序后其最長上升子序列至少為$n-1$。 解決 ...

Mon Dec 03 19:43:00 CST 2018 2 648
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM