Fork me on GitHub
Sky of war

Beyond the spectacle of the sky


  • 首页

  • 关于

  • 标签60

  • 分类7

  • 归档63

  • Game2048

  • 搜索

『Codeforces 932E』Team Work

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

『Codeforces 932E』Team Work

Problem

time limit per test

2 seconds

memory limit per test

256 megabytes

Description

You have a team of $N$ people. For a particular task, you can pick any non-empty subset of people. The cost of having $x$ people for the task is $x^k$.

Output the sum of costs over all non-empty subsets of people.

阅读全文 »

『AGC 012B』Splatter Painting

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

Time limit : 2sec / Memory limit : 256MB

door♂

题意简述:可以参考图,问你最后的染色情况

阅读全文 »

『AGC 012A』AtCoder Group Contest

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

Time limit : 2sec / Memory limit : 256MB

题意:给$3N$个数,$3​$个一组,我们取每个组第二大的数出来相加,问最大能够是多少

还是…还是弄个door吧。。

door♂

阅读全文 »

『AGC 003A』Wanna go back home

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

传送门:

传送door♂

阅读全文 »

『AGC 003B』Simplified mahjong

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

算了懒得搞,直接放传送门了:

传送door♂

阅读全文 »

『AGC 003C』BBuBBBlesort!

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

传送门:

传送door♂

阅读全文 »

『AGC 002C』Knot Puzzle

发表于 2018-08-30 | 更新于 2018-09-15 | 分类于 题解

Problem

Time limit : 2sec / Memory limit : 256MB

Problem Statement

We have $N$ pieces of ropes, numbered 1 through $N$. The length of piece $i$ is $a_i$.

At first, for each $i(1≤i≤N−1)$, piece $i$ and piece $i+1$ are tied at the ends, forming one long rope with $N-1$ knots. Snuke will try to untie all of the knots by performing the following operation repeatedly:

  • Choose a (connected) rope with a total length of at least $L$, then untie one of its knots.

Is it possible to untie all of the $N−1$ knots by properly applying this operation? If the answer is positive, find one possible order to untie the knots.

阅读全文 »

『JZOJ 4721』【NOIP2016提高A组模拟8.21】最长公共子序列

发表于 2018-08-29 | 更新于 2018-09-15 | 分类于 题解

4721. 【NOIP2016提高A组模拟8.21】最长公共子序列

Problem

Description

DJL为了避免成为一只咸鱼,来找Johann学习怎么求最长公共子序列。
经过长时间的摸索和练习,DJL终于学会了怎么求LCS。Johann感觉DJL孺子可教,就给他布置了一个课后作业:
给定两个长度分别为$n$和$m$的序列,序列中的每个元素都是正整数。保证每个序列中的各个元素互不相同。求这两个序列的最长公共子序列的长度。
DJL最讨厌重复劳动,所以不想做那些做过的题。于是他找你来帮他做作业。

阅读全文 »

记录一次非常感人的Mathematica Animation(Lissajous曲线)...

发表于 2018-08-28 | 更新于 2018-09-12 | 分类于 讲解

记录一次非常感人的Mathematica Animation…

自己突发奇想想做一次Lissajous曲线。。

Mathematica代码咯:

但是我们应该如何导出视频呢?

阅读全文 »

一些关于组合的公式......

发表于 2018-08-28 | 更新于 2018-09-12 | 分类于 讲解

好吧这个是我想水个资源文…

行吧… 资源都在下面了。。。一共8卷。。((

Volume1
Volume2
Volume3
Volume4
Volume5
Volume6
Volume7
Volume8

1234…7
Sky of war

Sky of war

Why I gotta fly? The boundlessness precipitates me to do so.

63 日志
7 分类
60 标签
RSS
GitHub E-Mail Google Twitter FB Page YouTube
Links
  • 几何大师wuyudi
  • OI巨佬ExtendedAsh
  • 马上要碾压我的cz
  • galgame的神犇Highwind
  • Waterloo的CS大佬Jude
  • yww%%%
0%
© 2018 Sky of war
博客全站共46.3k字