摘要:
D - 3N Numbers Time limit : 2sec / Memory limit : 256MB Score : 500 points Problem Statement Let N be a positive integer. There is a numerical sequenc 阅读全文
摘要:
Chocolate Bar Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement There is a bar of chocolate with a height of H blocks and 阅读全文
摘要:
仔细的弄懂了一下,优先队列的情况 1 #include <iostream> 2 #include <queue> 3 using namespace std; 4 5 struct Node 6 { 7 int x; 8 bool operator <(const Node& b)const{ 9 阅读全文