上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 97 下一页
摘要: 【题目描述】 bleaves 最近在 wzoi 上面做题。 wzoi 的题目有两种,一种是 noip 题,一种是省选题。 bleaves 的做题方式很特别。每一天,她可能会看一道题目,这时她会选择题目种类,然后 wzoi 会在选定种类中随机扔给她一道她还... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(34) 评论(0) 推荐(0)
摘要: 【题目描述】 小B来到了一个异世界,成为了肥猪之王。 在这个异世界,共有n种肥猪,编号分别为1,...,n。 小B希望集齐这n种肥猪。 召集肥猪有两种方式: 1. 花费a[i]的金币召唤一只编号为i的肥猪。 2. 花费x的金币使所有已召集的肥猪进化。 即... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(60) 评论(0) 推荐(0)
摘要: Problem Description As meticulous Gerald sets the table and caring Alexander sends the postcards, Sergey makes snowmen. Each sh... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(15) 评论(0) 推荐(0)
摘要: Problem Description Write a program to read four lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 ch... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(8) 评论(0) 推荐(0)
摘要: Problem Description Farmer John's cows enjoy reading books, and FJ has discovered that his cows produce more milk when they rea... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(42) 评论(0) 推荐(0)
摘要: Problem Description Farmer John has two feuding herds of cattle, the Moontagues and the Cowpulets. One of the bulls in the Moon... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(27) 评论(0) 推荐(0)
摘要: Problem Description The cows have erected clothes lines with N (1 #include#include#include#include#include#include#include#incl... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(26) 评论(0) 推荐(0)
摘要: 【概述】 在 C++ 中数据类型的长度最多能到 64 位,一旦超出这个位数,就要用数组进行模拟计算,即高精度算法 而在 Java 中有两个类:BigInteger、BigDecimal 分别表示大整数类和大浮点数类,其理论上能表示无限大的数,只要计算机内存足够... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(24) 评论(0) 推荐(0)
摘要: 【概述】 bitset 位于 头文件中,其是 STL 的一部分,准确地说,bitset 是一个模板类而不是容器,其模板参数不是类型,而整型的数值,即:bitset bitset 存储的是二进制位,与一个 bool 型的数组相似,其每位只占一个字节,极大的... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(59) 评论(0) 推荐(0)
摘要: Problem Description AtCoDeer the deer has N cards with positive integers written on them. The number on the i-th card (1≤i≤N) i... 阅读全文
posted @ 2022-09-20 22:54 老程序员111 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 97 下一页