随笔分类 - OTHER OJ
摘要:#include using namespace std; typedef long long ll; char a[70]; ll dp[70][70]; int main(){ int T; scanf("%d",&T); int n; int ca = 0; while(T--){ memset(dp,0,sizeof(dp)); scanf("%s",a+1); ...
阅读全文
摘要:Problem I Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description A group is made of n people who are numbered from 0 to n−1. Now
阅读全文
摘要:zoj3929 zoj3930 zoj3931 zoj3933
阅读全文
摘要:Problem Description 终于有一天,王元姬用他的劫打上了最强王者。他号称,他从来不会在偶数段位停留,因为他的实力太强会跳段(这个13我给满分)。傲娇棠和翔妹觉得他的13装的都比勇哥哥好了,所以要打击他一下,就拿他最擅长的劫来出了一道题。 假设在瓦洛兰大路上有劫的影子一共n个,影子与影
阅读全文
摘要:这种应用一种公式,注意如果共面体积是负数,要特判 Problem Description 已知一个三角形ABC三点在空间内的坐标,和空间某一点q到ABC三点的距离,求q点到ABC的距离。 保证存在点q和ABC不共线。 Input 第一行是样例个数。 每一个样例前三行是ABC坐标。 最后一行是q到平面
阅读全文
摘要:tmeteorj recently is interested in a game Plants VS Zombies like following picture. And his brain hole is opened so he want to you to solve this probl
阅读全文
摘要:Given N jobs, each denoted by a 2-tuples integer (pi, ri) where pi is the processing time and ri is the release time. You must construct a schedule fo
阅读全文
摘要:yuebai has an undirected complete graph with n vertices. He wants to know the minimum spanning tree of the graph. It's so easy, so yuebai wants to cha
阅读全文

浙公网安备 33010602011771号