
思维&模拟
小天位
这个作者很懒,什么都没留下…
展开
-
codeforces831c 思维
题意:一个比赛中,n裁判依次给你打分,第i个裁判给了A[i]分,但你记性不好,没有记住所有得分,连初始分都忘记了,只记得m个加完分后的总分B[i](不是按顺序的),且B[i]互不相同。问:初始分有多少种可能的情况。点击打开链接#include <iostream> #include <cstdio> #include<algorithm> #include &l...原创 2018-04-02 20:41:53 · 239 阅读 · 0 评论 -
CodeForces - 785C Anton and Fairy Tale
Anton likes to listen to fairy tales, especially when Danik, Anton's best friend, tells them. Right now Danik tells Anton a fairy tale:"Once upon a time, there lived an emperor. He was very rich and h...原创 2018-04-03 08:55:15 · 266 阅读 · 0 评论 -
CF Contest-1066
A Vova and Train #include <bits/stdc++.h> #include <iostream> #define X 10005 #define inf 0x3f3f3f3f #define PI 3.141592653589793238462643383 #define IO ios::sync_with_stdio(false),cin...原创 2018-10-13 09:45:35 · 236 阅读 · 0 评论