A(HDU 1877)题目地址
原创 2022-08-04 13:08:28
62阅读
4078.   find the princessITim
原创 2022-09-07 11:13:04
105阅读
emmmmm, 这次比赛就3个小时, 前两个小时都是我和圣元在打, 过了6题, 其实如果我们在前面没有过多的讨论I题的话罚时可能更少, 名次应该会更靠前,所以下次即使有有思路的难题还是放在简单题后面好 ##D 当时我们大概讨论出来了方案,f[i][j]表示前i个人, 第二排有j个人的方案数(显然j ...
转载 2021-10-23 14:50:00
98阅读
2评论
emmmmm, 本来事不打算打这场比赛的, 队友都没打, 但是我到实验室的时候刚好开始, 好多人在打, 那我也就打把, 然后, 拉的一批, 先是电脑连不上网, 然后进去后A掉了3道水题, 其中一个线段树调试的时间还是挺长的, 下次要注意, 然后我看到了A题, 我甚至可以说, 我真的想到了题解, 连滚 ...
转载 2021-10-27 15:47:00
54阅读
2评论
A . P1082 [NOIP2012 提高组] 同余方程 exgcd模板 #include <bits/stdc++.h> #define fu(a, b, c) for (int a = b; a <= c; a++) #define fd(a, b, c) for (int a = b; a ...
转载 2021-09-04 21:52:00
111阅读
今天打比赛,会做的题比较简单,细节要注意,第...
转载 2019-04-20 20:03:00
61阅读
2评论
今天打比赛,会做的题比较简单,细节要注意,第...
转载 2019-04-20 20:03:00
78阅读
2评论
训练赛20160330 4:00:00 4:00:00 Overview Problem Status Rank Discuss Clone this contest ID Origin Title 子序列个数 A题:物理题水体 B题:字符串处理,水 C:水 D:bfs,,,,需要使用两次bfs进行
转载 2016-03-31 11:48:00
83阅读
2评论
这次我们A水题的速度非常快, 大概1个多小时作业, A了7道题, (zsyA掉了莫比乌斯%%%), 但后面竟然一道题也没想出来, 非常不应该。。 H. Haunted House 当时看到这道题的时候确实想了很长时间, 也有了一些思路, 但以为是个高级的数据结构, 就没有写出来。 还是直接说正解把, ...
转载 2021-10-26 13:09:00
223阅读
2评论
F--Hot or Cold?Time Limit:3000MS     Memory Limit:0KB     64bit IO Form
原创 2022-11-21 19:39:08
31阅读
B.   find the princessIITime Limit: 1.0 S
原创 2022-09-07 11:12:48
51阅读
A - Applications https://vjudge.net/contest/174208#overview Recently, the ACM/ICPC team of Marjar Universitydecided to choose some new members from fr
转载 2017-07-27 19:25:00
91阅读
2评论
补题​​http://cichengzi.cn/contest/3​​题解冒险家:第k短路和感染(low):目标学校:1e5,1e6的数据不可能暴力。先对所有的学校按分数线从小到大排序,然后二分查找。可以手写二分,也可以用lower_bound函数,找出第一个大于等于t的数a[i]。a[i]是大于等于t的数,a[i-1]是小于t的数。 比较abs(a[i]-t)和abs(t-a[i-1])的大小
原创 2022-09-23 11:41:43
69阅读
2019.11.30训练赛总结 "Codeforces Round 499 (Div. 2)" 总的来说是一场很不愉快的比赛。漏洞百出。 对于A题,其实没有什么技术含量,只是写的时候忘记了边界的情况,导致出现错误。 B题,一定程度上考验了思维,既然从正面做不行,那么我可以反着来,既然求不可以正向求出
原创 2022-11-03 15:24:14
52阅读
4166.   A-The implementation problemTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 140   Accepted Runs: 34Xiao Ming is very interesting for dot matrix. Xiao Ming also like
原创 2022-09-07 11:01:28
49阅读
4168.   I-The brute force problemTime Limit: 1.0 Seconds   Memory Limit: 6553 given a sorted positive
原创 2022-09-07 11:33:42
48阅读
C.   find the princessIIITime Limit: 1.0 Seconds   Memory Limit: 65536KIt is a pity ththe prince
原创 2022-09-07 11:34:18
79阅读
4172.   I-The dynamic programming problem1Time Li
原创 2022-09-07 10:54:28
189阅读
4081.   God Le wants to know the directoryTime Limit: 1.0 Seconds   Memory Limit: 65536KTotal Runs: 393   Accepted Runs: 134God Le is the most talented ACMer in the TJU-ACM team.Wh
原创 2022-09-07 11:01:33
40阅读
4171.    L-The math problem Time Limit: 1.0 Seconds    Memory Limit: 65536K Total Runs: 286    Accepted Runs: 86 Given an array a with n i
原创 2022-09-07 11:40:48
60阅读
  • 1
  • 2
  • 3
  • 4
  • 5