jswwsj
jswwsj
全部文章
分类
cf(15)
dfs(1)
zoj(6)
并查集(2)
快速幂(1)
思维(2)
搜索(1)
最短路(2)
未归档(27)
模拟(1)
追求(1)
题解(3)
归档
标签
去牛客网
登录
/
注册
jswwsj的博客
全部文章
(共62篇)
Codeforces Round #554 (Div. 2) A
On a random day, Neko found n treasure chests and m keys. The i-th chest has an integer ai written on it and the j-th key has an integer bj on it. Ne...
2019-04-25
0
777
HDU - 1863 畅通工程
#include <iostream> #include<stdio.h> #include<algorithm> using namespace std; typedef struct Dt { int x,y,sum; }Dt; Dt a[120]; ...
2019-04-23
0
620
Educational Codeforces Round 63 (Rated for Div. 2)C - Alarm Clocks Everywhere
Ivan is going to sleep now and wants to set his alarm clock. There will be many necessary events tomorrow, the i-th of them will start during the xi-t...
2019-04-23
0
464
Educational Codeforces Round 63 (Rated for Div. 2) Game with Telephone Numbers B
A telephone number is a sequence of exactly 11 digits such that its first digit is 8. Vasya and Petya are playing a game. Initially they have a stri...
2019-04-23
0
501
Educational Codeforces Round 63 (Rated for Div. 2) Reverse a Substring A
You are given a string s consisting of n lowercase Latin letters. Let's define a substring as a contiguous subsegment of a string. For example, &quo...
2019-04-23
0
539
Til the Cows Come Home
Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Be...
2019-04-22
0
421
hdu 1005 Number Sequence
Problem Description A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, and n, you a...
快速幂
2019-04-21
0
544
hdu 1002 A + B Problem II
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The...
模拟
2019-04-21
0
556
2019湖南多校第5场网络同步赛B
Little Barney just got a new toy cube set from his parents. His set contains n identical cubes. Barney immediately started building various objects wi...
2019-04-21
0
451
2019湖南多校第5场网络同步赛A
Description Anna loves her cell phone and becomes very sad when its battery level drops to 0 percent. In normal mode, Anna's phone battery drains at...
2019-04-21
0
560
首页
上一页
1
2
3
4
5
6
7
下一页
末页