07 2020 档案
摘要:Discount 传送门 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 学皇来到了一个餐馆吃饭。他觉得这家餐馆很好吃,于是就想办个会员。 一共有
阅读全文
摘要:Poker Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 98 Accepted Submission(s): 39传送门 Problem De
阅读全文
摘要:rand() 在很多时候我们都会用到随机数,比如代码测试,想自己制造一些数据,许多人也会第一时间想到rand()这个随机生成的函数 来自官方的解释: 不喜欢看英文的小伙伴可以跳过 function <cstdlib> int rand (void); Generate random number R
阅读全文
摘要:P1002 过河卒 传送门 题目描述 棋盘上 A 点有一个过河卒,需要走到目标 B 点。卒行走的规则:可以向下、或者向右。同时在棋盘上 C 点有一个对方的马,该马所在的点和所有跳跃一步可达的点称为对方马的控制点。因此称之为“马拦过河卒”。 棋盘用坐标表示,A 点 (0, 0)、B 点 (n, m),
阅读全文
摘要:P2181 对角线 传送门 题目描述 对于一个 n 个顶点的凸多边形,它的任何三条对角线都不会交于一点。请求出图形中对角线交点的个数。 例如,6 边形: 输入格式 输入只有一行一个整数 n,代表边数。 输出格式 输出一行一个整数代表答案。 输入输出样例 输入 #1 3 输出 #1 0 输入 #2 6
阅读全文
摘要:这篇博客并不是什么算法讲解,仅仅是作为记录(老是搞忘) 在我们使用C的时候,cin的使用非常方便,但是cin的速度非常非常非常慢,各位在某些OJ做题的时候就会发现存在T的情况,其实我们可以通过对C的输入输出关流,这样能让cin和cout跑的更快。 写代码的时候把一下几句放在主函数中就行: ios::
阅读全文
摘要:Drink 传送门 Accepts: 1896 Submissions: 4596 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 我们有 nn
阅读全文
摘要:E - Red Scarf Time Limit: 2 sec / Memory Limit: 1024 MB Score : 500500 points Problem Statement There are NN Snuke Cats numbered 1,2,…,N1,2,…,N, where
阅读全文
摘要:D - Replacing Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400400 points Problem Statement You have a sequence AA composed of NN positive integer
阅读全文
摘要:C - One Quadrillion and One Dalmatians Time Limit: 2 sec / Memory Limit: 1024 MB Score : 300300 points Problem Statement 10000000000000011000000000000
阅读全文
摘要:B - Mix Juice Time Limit: 2 sec / Memory Limit: 1024 MB Score : 200200 points Problem Statement A shop sells NN kinds of fruits, Fruit 1,…,N1,…,N, at
阅读全文
摘要:A - αlphabet Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100 points Problem Statement An uppercase or lowercase English letter αα will be given
阅读全文
摘要:D - Chat in a Circle Time Limit: 2 sec / Memory Limit: 1024 MB Score: 400400 points Problem Statement Quickly after finishing the tutorial of the onli
阅读全文
摘要:B - Judge Status Summary Time Limit: 2 sec / Memory Limit: 1024 MB Score : 200200 points Problem Statement Takahashi is participating in a programming
阅读全文
摘要:A - Payment Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement We will buy a product for NN yen (the currency of Japan)
阅读全文
摘要:A Simple Math Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 8456 Accepted Submission(s)
阅读全文
摘要:B. Omkar and Last Class of Math time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In Omkar'
阅读全文
摘要:A. Omkar and Completion time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have been ble
阅读全文

浙公网安备 33010602011771号