- 博客(14)
- 收藏
- 关注
原创 实验七-自动化发布csdn
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar
2022-01-11 09:46:19
252
原创 2019-2020 ICPC Asia Taipei-Hsinchu Regional Contest——Problem J Automatic Control Machine
题意:给定一个mn题意:给定一个mn的01矩阵,然后选取其中的某些行,确保每一列都至少有一个1在选中的行中,求最少选中的行数。的01矩阵,然后选取其中的某些行,确保每一列都至少有一个1在选中的行中,求最少选中的行数。解题思路:n<15.纯暴力。利用二进制状态压缩以及bitset去储存数据和与运算#include <bits/stdc++.h>using namespac...
2020-02-23 11:03:06
1969
原创 牛客挑战赛37 C 牛牛要女装
链接:https://ac.nowcoder.com/acm/contest/4381/C来源:牛客网题意给你一块伪代码块让你求得对应循环的值解题思路根据题目意思编排递归函数。我在这里曾使用了log2发现必定超时,而且使用了各种优化log2的方式发现都不尽人意,然后我看见大佬用了__lg能轻易通过,我不禁心痛了起来#include "bits/stdc++.h"using na...
2020-02-23 10:47:04
314
4
原创 牛客挑战赛37 B 牛牛与组合数学
链接:https://ac.nowcoder.com/acm/contest/1069/J来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述The cows are trying to become better athletes, so Bessie is running on...
2020-02-23 10:05:06
497
原创 Carnival Slots dfs+dp
Carnival SlotsTime limit 1500 msMemory limit 262144 kBYou go to the carnival and come across a nice little game. The carnival worker shows you the setup of the game, which can be represented as a 2...
2019-07-30 08:48:24
440
原创 Portals 特殊遍历方式加暴力
Portals Gym - 102006CTime limit 1000 msMemory limit 262144 kBMr. Light is making a video game that can be represented as a ninja moving around a grid of 1 row and n columns.Each cell is one of 5 t...
2019-07-30 08:36:00
240
原创 2018 ICPC East-Central NA Regional Practice Contest----So You Like Your Food Hot?
So You Like Your Food Hot? Kattis - soyoulikeyourfoodhotTime limit 1000 msMemory limit 1048576 kBPeter is co-owner of the incredibly successful Pete and Pat’s Pitas and Pizzas and his sales are on ...
2019-07-29 09:47:43
692
原创 2018 ICPC East-Central NA Regional Practice Contest B-Are You Listening
生成最大的距离
2019-07-29 09:21:42
563
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅