2016ccpc专题

2016CCPC东北地区大学生程序设计竞赛题解

以下所有AC题解程序来自“仙客传奇”团队。 A. Minimum’s Revenge AC的C++语言程序: #include<iostream>using namespace std;int main(){int t;long long a, b;cin >> t;for(int test = 1; test <= t; ++test){cin >> a >> b;cout << "

2016CCPC东北-B.Mr. Frog’s Problem

题目链接http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1003&cid=729 #include<stdio.h>#include<iostream>#define ll long longusing namespace std;int main(){int t;cin>>t;int cnt=1;while(t--)

2016CCPC东北-A.Minimum’s Revenge

题目链接http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1001&cid=729 #include<stdio.h>#include<iostream>#define ll long longusing namespace std;int main(){int t;cin>>t;int cnt=1;while(t--

(HDU 5927)Auxiliary Set 思维题 2016CCPC东北地区大学生程序设计竞赛 - 重现赛

Auxiliary Set Problem Description Given a rooted tree with n vertices, some of the vertices are important. An auxiliary set is a set containing vertices satisfying at least one of the two condition

(HDU 5924)Mr. Frog’s Problem 思维水题 2016CCPC东北地区大学生程序设计竞赛 - 重现赛

题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5924 Mr. Frog’s Problem Problem Description One day, you, a clever boy, feel bored in your math class, and then fall asleep without your control. In y

2016CCPC宁波总决赛

这次是真·宁波四日游,打了人生第一块铁。。。没去之前就想了,能进决赛就不错了,本来出线的时候排名就不是很靠前,就没有奢望什么。2016年最后一场比赛以打铁告终,想想也是好事,激励自己继续奋斗吧。 ---------------------------------------------------(我是萌萌哒分割线)-------------------------------------