摘要:
传送门 A Two Rabbits standard input/output 1 s, 256 MB Submit Add to favourites x12905 如果 两个兔子之间的差值为 a+b 的倍数 则有解, 否则 无解 B Longest Palindrome standard inp 阅读全文
摘要:
传送门 Task Name Time Limit Memory Limit A Coffee 2 sec 1024 MB Submit only if its 3-rd and 4-th characters are equal and its 5-th and 6-th characters ar 阅读全文
摘要:
constructive algorithms greedy implementation 阅读全文
摘要:
看 Editorial 补题的蒟蒻 传送门 A Grade Allocation standard input/output 1 s, 256 MB Submit Add to favourites x8615 cout << min(sum(ai), m);B String Modificatio 阅读全文
摘要:
A Cow and Haybales standard input/output 2 s, 256 MB Submit Add to favourites x7258 模拟即可,B Cow and Friend standard input/output 2 s, 256 MB Submit Add 阅读全文
摘要:
A Erasing Zeroes standard input/output 1 s, 256 MB Submit Add to favourites x9251 把第一个1前面的0 和 最后一个1的0 从0的总数减去即可B National Project standard input/outpu 阅读全文
摘要:
棋盘染色法是一类借助国际象棋棋盘通过染色解决组合问题的解题方法, (组合数学) 存在性问题:染色法 可行性问题:构造法 双色染色法(用两种颜色进行染色) 一个5*5的棋盘,可以上下左右移动,问从图中的黑色格子出发,能否走遍所有格子并且不重复走一个格子.? 因为是黑色格子为起点, 你模拟一下 会发现无 阅读全文
摘要:
传送门 A Equation standard input/output 3 s, 256 MB Submit Add to favourites x8521 手推一下, 把 1 2 单独输出, 其他奇数输出 3*n 2*n 偶数则输出 4*n 2*nB Modulo Equality standa 阅读全文
摘要:
传送门 A New Year Garland standard input/output 1 s, 256 MB Submit Add to favourites x6464 插空法,三种颜色,假设红色最多, 先把红色球放一排, 为了两个红色球不想碰 所以要往红色球的间隔中放入另外两种颜色的球 而如 阅读全文
摘要:
传送门 A Suits standard input/output 1 s, 256 MB Submit Add to favourites x7772 如题意,模拟B Blocks standard input/output 2 s, 256 MB Submit Add to favourites 阅读全文