省赛 邀请赛等等
文章平均质量分 90
黑猫5027
摒弃时间之人所得不到的眷顾
展开
-
ZOJ3603 2012浙江省赛D
题目就是:给出n个字符串,输出其中相同的字母。表示这道题目一直没有注意到可能会出现重复的,于是就wa了好多次#include#include#includeusing namespace std;int t, n;char a[25][20];char atlas[30];int flag[30];int cnt[30];void init原创 2016-03-06 15:24:48 · 544 阅读 · 0 评论 -
ZOJ3607 2012浙江省省赛 贪心吧
表示这道题目今天模拟的时候做了将近三个小时都没有做出来,细节错误实在是太多了,心累啊。唉,最后还是看了一下别人的题解,打算明天好好在重新一份#include#include#includeusing namespace std;const int inf = 0x3f3f3f3f;const int maxn = 1000 + 50;int cnt, n原创 2016-03-05 20:50:49 · 493 阅读 · 0 评论 -
ZOJ 2475 dfs 少了一个条件WA了半天
Benny's CompilerTime Limit: 2 Seconds Memory Limit: 65536 KBThese days Benny has designed a new compiler for C programming language. His compilation system provides a compiler driver that原创 2016-03-24 18:50:36 · 414 阅读 · 0 评论 -
ZOJ 3605 2012浙江省省赛 挺好的动规题
表示只知道是动态规划,然而还是得看别人的题解,看了以后感觉。果然分类讨论的能力还是不够啊。#include#include#includeusing namespace std;int n, m, k, s;long long dp[60][60][60];int A[60], B[60];//用DP[m][k][n] 表示m次交换,知道了其中的k次,结尾n表原创 2016-03-06 17:46:11 · 431 阅读 · 0 评论 -
13th省赛K
Highway ProjectTime Limit: 2 Seconds Memory Limit: 65536 KBEdward, the emperor of the Marjar Empire, wants to build some bidirectional highways so that he can reach other cities from th原创 2016-04-27 20:23:50 · 404 阅读 · 0 评论 -
ZOJ 3870 2015省赛的B 技巧题
B - Team FormationTime Limit:3000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3870DescriptionFor an upcoming programming contest, Edward原创 2016-04-04 14:09:05 · 318 阅读 · 0 评论 -
ZOJ 3872 2015省赛D 技巧题
D - Beauty of ArrayTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3872DescriptionEdward has an array A with N integers. He def原创 2016-04-04 13:59:04 · 298 阅读 · 0 评论 -
ZOJ 3939 The Lucky Week 2016省赛
The Lucky WeekTime Limit: 2 Seconds Memory Limit: 65536 KBEdward, the headmaster of the Marjar University, is very busy every day and always forgets the date.There was one day Edward原创 2016-04-24 20:47:59 · 1298 阅读 · 1 评论