原创 BZOJ 2190 儀仗隊

2190: [SDOI2008]儀仗隊 Time Limit: 10 Sec  Memory Limit: 259 MBSubmit: 2225  Solved: 1403 [Submit][Status][Discuss] Descr

原创 hdu 5636 Shortest Path

#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> /*

原创 位操作的快速冪

#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> // 計算x^22 22 = 10110 = 16+4+2 //

原创 codeforces 630G Challenge Pennants

G. Challenge Pennants time limit per test 0.5 seconds memory limit per test 64 megabytes input standard input

原创 hdu 5630 Rikka with Chess

Rikka with Chess Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(

原创 codeforces 630E A rectangle

E. A rectangle time limit per test 0.5 seconds memory limit per test 64 megabytes input standard input output

原创 poj 2549 Sumsets (枚舉+二分)

Sumsets Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10026   Accepted: 2743 Description Given S, a

原创 codeforces 630I Parking Lot

#include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<cmath> /* 正如題目:對排列組合應用,有n個相同的車停在一起時,

原创 hdu 5233 Gunner II (容器)

Gunner II Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 173

原创 BZOJ 2456 mode (求衆數)

2456: mode Time Limit: 1 Sec  Memory Limit: 1 MBSubmit: 2754  Solved: 1165 [Submit][Status][Discuss] Description 給你一個

原创 codeforces 630F Selection of Personnel

F. Selection of Personnel time limit per test 0.5 seconds memory limit per test 64 megabytes input standard inpu

原创 codeforces 598D - Igor In the Museum

D. Igor In the Museum time limit per test 1 second memory limit per test 256 megabytes input standard input ou

原创 hdu 5615 Jam's math problem

Jam's math problem Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submissio

原创 codeforces 630K Indivisibility

K. Indivisibility time limit per test 0.5 seconds memory limit per test 64 megabytes input standard input outp

原创 NBUT 1665 木塊拼接

[1655] 木塊拼接 時間限制: 1000 ms 內存限制: 65535 K 問題描述 好奇的skyv95想要做一個正方形的木塊,現在有三種顏色的矩形木塊,顏色分別爲"A","B","C"。他現在很想把三個木塊拼接成一個大正方形