
多校
咕咕评测姬
大白大大白
展开
-
杭电2018多校——D题:Distinct Values分析大佬的代码(代码是大神的)
Problem Description Chiaki has an array of n positive integers. You are told some facts about the array: for every two elements ai and aj in the subarray al..r (l≤i<j≤r ), ai≠aj holds. ...原创 2018-07-24 10:05:24 · 396 阅读 · 0 评论 -
Trace
There‘s a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xx , yy) means the wave is a rectangle whose vertexes are ( 00 , 00 ), ( xx , 00 ), ( 00 , yy ), ( xx , yy )...原创 2018-09-09 23:43:27 · 196 阅读 · 0 评论 -
ACM-ICPC 2018 徐州赛区网络预赛 Characters with Hash
Mur loves hash algorithm, and he sometimes encrypt another one's name, and call him with that encrypted value. For instance, he calls Kimura KMR, and calls Suzuki YJSNPI. One day he read a book about ...原创 2018-09-09 22:17:26 · 193 阅读 · 0 评论 -
Features Track——徐州网络赛
31.32% 1000ms 262144K Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement from a cat video. To do this, he extracts cat features in each f...原创 2018-09-09 22:00:14 · 190 阅读 · 0 评论 -
牛客第十场A
Today, Rikka is going to learn how to use BIT to solve some simple data structure tasks. While studying, She finds there is a magic expression in the template of BIT. After searching for some literat...原创 2018-08-20 11:15:57 · 263 阅读 · 0 评论 -
牛客网多校第十场J
/*22lubenweiniubi3aaababblubenweiubiaabb*/#pragma GCC optimize(3)#include <bits/stdc++.h>using namespace std; const int MAXL=1000005,SIGMA=26; char s[MAXL],ans[MAXL];set <...原创 2018-08-20 11:08:33 · 236 阅读 · 0 评论 -
Sequence——HDU6395
Let us define a sequence as below F1=AF2=BFn=C⋅Fn−2+D⋅Fn−1+⌊P/n⌋ Your job is simple, for each task, you should output Fn module 109+7 . Input The first line has only o...原创 2018-08-15 10:58:23 · 286 阅读 · 0 评论 -
A——gpa牛客多校2018第五场(二分
链接:https://www.nowcoder.com/acm/contest/143/A来源:牛客网 Kanade selected n courses in the university. The academic credit of the i-th course is s[i] and the score of the i-th course is c[i].At the un...原创 2018-08-03 09:20:33 · 191 阅读 · 0 评论 -
杭电第三场Ascending Rating
Problem Description Before the start of contest, there are n ICPC contestants waiting in a long queue. They are labeled by 1 to n from left to right. It can be easily found that the i -th cont...原创 2018-07-31 11:13:57 · 184 阅读 · 0 评论 -
航电多校第三场—— Visual Cube(模拟)
Problem Description Little Q likes solving math problems very much. Unluckily, however, he does not have good spatial ability. Everytime he meets a 3D geometry problem, he will struggle to dr...原创 2018-07-31 08:42:10 · 242 阅读 · 0 评论 -
Triangle Partition
Problem Description Chiaki has 3n points p1,p2,…,p3n . It is guaranteed that no three points are collinear. Chiaki would like to construct n disjoint triangles where each vertex comes from ...原创 2018-07-24 10:24:58 · 153 阅读 · 0 评论 -
Time Zone
Problem Description Chiaki often participates in international competitive programming contests. The time zone becomes a big problem. Given a time in Beijing time (UTC +8), Chiaki would lik...原创 2018-07-24 10:08:56 · 193 阅读 · 0 评论 -
ACM/ICPC 2018亚洲区预选赛北京赛站网络赛 D题
时间限制:1000ms单点时限:1000ms内存限制:256MB描述80 Days is an interesting game based on Jules Verne's science fiction "Around the World in Eighty Days". In this game, you have to manage the limited money an...原创 2018-09-23 16:04:17 · 232 阅读 · 0 评论