我们山东建筑大学出了4个正式队参加(随着每届省赛的正式名额的增加,我们学校已经没必要出星花队了,因为我们实验室水平能够参加省赛ACMer光正式队就够了-_-|)。 我们是周六(5月7号)一早6点多和山大的一块拼车...
我们山东建筑大学出了4个正式队参加(随着每届省赛的正式名额的增加,我们学校已经没必要出星花队了,因为我们实验室水平能够参加省赛ACMer光正式队就够了-_-|)。 我们是周六(5月7号)一早6点多和山大的一块拼车...
“浪潮杯”第九届山东省ACM大学生程序设计竞赛重现赛(A,C,E) 重现赛 A Anagram 题意: 给定两个等长的字符串s1,s2,字符串中每个字母通过一次操作可以变成下一个字母,比如A操作一次变为B,B操作一次变为C,Z...
大学生参加学科竞赛有着诸多好处,不仅有助于个人综合素质的提升,还能为未来职业发展奠定良好基础。以下是一些分析: 首先,学科竞赛是提高专业知识和技能水平的有效途径。通过参与竞赛,学生不仅能够深入学习相关...
Description Hmz likes to play fireworks, especially when they are put regularly. Now he puts some fireworks in a line. This time he put a trigger on each firework. With that trigger, each firewo
标签: 心里旅程
从小的大自己就没有出过远门,但第一次我出远门来到了黄岛,进行我ACM比赛的开始,来黄岛的路上,由于我的腿有点劳损,所以膝盖疼,就在车上没有怎么睡觉,就看看沿途的风景,不由得想起了自己的家, 虽然他们有...
题意:Nim游戏 : n堆石子,在每个回合中,玩家可以从某一堆中移除一些石头(数量必须是正数,而不大于桩中剩余石头的数量)。一个玩家获胜,如果他或她移除最后的石头,所有的堆都是空的。Alice先手,但是Bob鲍伯...
sdut-3560-julyed:http://acm.sdut.edu.cn/onlinejudge2/index.php/Home/Index/problemdetail/pid/3560.html Julyed Problem Description Julyed is preparing for her CET-6. She has N words to rememb
题干: Problem Description There are nnn cities in Byteland, and the ithi_{th}ith city has a value aia_iai. The cost of building a bidirectional road between two cities is the sum of their ...
#include #include #include #include using namespace std; struct node{int index,score,rank;}*a=(node *)malloc(sizeof(node)*200005),*b=(node *)malloc(sizeof(node)*200005); int num,r,q,num1[100005]
里面有山东省第一届ACM比赛试题及所有测试数据,输入需要从文件读取
acm训练了两年了,第一次参加正式比赛,足以看出自己多菜了。 膜拜一下烟大,据说是一个人带飞了一个学校,SDU再一次被某东学长奶死了。 热身赛,三道原题,很快过了,最后一题很迷,不知道为什么要出这个杨的题目...
济南大学真大啊,我从西门走到12号教学楼,又走到西门的大礼堂,再走回12号教学楼,热身赛结束再走回西门的宾馆,两万的步数,到了宾馆我和许哥哥的衣服都湿了。我感觉曲师校园小还挺好的。看了一下知乎才知道,济南...
StarsTime Limit: 15000 ms Memory Limit: 65536 KiBSubmit Statistic DiscussProblem DescriptionThere are N (1 ≤ N ≤ 400) stars in the sky. And each of them has a unique coordinate (x, y) (1 ≤ x, ...
省赛这次省赛一共有7支队伍,两支大一的,一支大三,剩下的是大二的,在大三组的我瑟瑟发抖。作为一个大二的巨蒟蒻的队员,比赛前一个月拿起大一刷的题开始试水,越做越感到自己菜,光模板题都没刷完,更不用说更牛...
省赛结束了,排名打铁,只出了四题。前三个小时只出了一道题。M题很简单,我第一次循环做的直接超时,没想到怎么优化,然后误以为有公式,推了半个小时的公式,测试都对,提交一直wa,然后考虑k>35就直接输出1,...
Problem DescriptionLYD loves codeforces since there are many Russian contests. In an contest lasting for T minutes there are n problems, and for theith problem you can get ai−di∗ti points, ...
很幸运第一次打的比赛就在自己的大学举行,山东省第十届省赛in济南大学,免去了来回的奔波之苦,比赛当天可以在宿舍睡到天亮;更幸运的是见证了比赛从准备到举行的全过程,从队伍的安排,奖品的安排(有30个小米背包...
Nias and Tug-of-WarTime Limit: 1000 ms Memory Limit: 65536 KiBSubmit Statistic DiscussProblem DescriptionNias is fond of tug-of-war. One day, he organized a tug-of-war game and invited a group of...
#include<bits/stdc++.h> using namespace std; const int MOD = 1e9 + 7, maxn=1023+10; int n, d ,t;...int dp[maxn][15][maxn];//i j k 从前i堆里选j堆除去后 异或值为k的方法数 ...
quadratic equation Time Limit: 2000MS Memory Limit: 131072KB Problem Description With given integers a,b,c, you are asked to judge whether the following statement is true: "For any ...
Time Limit: 2000MS Memory limit: 131072K题目描述Memory Leak is a well-known kind of bug in C/C++. When a string is longer than expected, it will visit the memory of next array which will cause the ...
“题目说的是输出编号。输出编号!...省赛的结果是五道题,铜牌。作为一只大一代表队,心里感觉还是挺不错的,算是正常发挥吧。不过因为最后两个多小时搞了图论的 C 题,没能有时间看博弈,挺遗憾的。 比
简单的搜索题,我的英语水平都没能都懂题,惭愧惭愧~,题意是有几块(x-x1)+(y-y1)=1 and (y-y1) #include #include #include #include #include using namespace std; int dir1[4][2]={1,0,-1,0,0,1,0,-1};...
题干: Problem Description Alice and Bob are playing a stone game. There are nnn piles of stones. In each turn, a player can remove some stones from a pile (the number must be positive and not ...
F - quadratic equationTime Limit:2000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmitStatusPracticeSDUT 3898Description With given integers a,b,c, you are asked to judge whether th...
一个出问题的打印机,每次出问题打印最大值重置。 #include #include using namespace std; int main() { int t; scanf("%d",&t); while(t--) { int n,s,x,y,mod; scanf("%d%d%d%d%d",&n,&s,&x,&y,&mod... getcha
Problem H.Dominoes Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 17Accepted Submission(s): 12 Problem Description Orz likes to play ...
Problem Description LYD loves codeforces since there are many Russian contests. In an contest lasting for T minutes there are n problems, and for the ith problem you can get ai−di∗ti points, where ...