最新 最热

【CodeForces 618C】Constellation

Cat Noku has obtained a map of the night sky. On this map, he found a constellation with n stars numbered from 1to n. For each i, the i-th star is located at co...

2020-06-02
1

【CodeForces 621C】Wet Shark and Flowers

There are n sharks who grow flowers for Wet Shark. They are all sitting around the table, such that sharks i andi + 1 are neighbours for all i from 1 to n - 1. ...

2020-06-02
0

【Gym 100015B】Ball Painting(DP染色)

题There are 2N white balls on a table in two rows, making a nice 2-by-N rectangle. Jon has a big paint bucketfull of black paint. (Don’t ask why.) He wants to ...

2020-06-02
1

【CodeForces 621A】Wet Shark and Odd and Even

Today, Wet Shark is given n integers. Using any of these integers no more than once, Wet Shark wants to get maximum possible even (divisible by 2) sum. Please, ...

2020-06-02
1

【Codeforces 738B】Spotlights

Theater stage is a rectangular field of size n × m. The director gave you the stage's plan which actors will follow. For each cell it is stated in the plan if t...

2020-06-02
1

【Codeforces 723D】Lakes in Berland (dfs)

海洋包围的小岛,岛内的有湖,'.'代表水,'*'代表陆地,给出的n*m的地图里至少有k个湖,求填掉面积尽量少的水,使得湖的数量正好为k。...

2020-06-02
1

【Codeforces 723B】Text Document Analysis 模拟

http://codeforces.com/problemset/problem/723/B

2020-06-02
1

【Codeforces 723C】Polycarp at the Radio 贪心

n个数,用最少的次数来改变数字,使得1到m出现的次数的最小值最大。输出最小值和改变次数以及改变后的数组。

2020-06-02
1

【CodeForces 589F】Gourmet and Banquet(二分+贪心或网络流)

A gourmet came into the banquet hall, where the cooks suggested n dishes for guests. The gourmet knows the schedule: when each of the dishes will be served.

2020-06-02
1

Vue监听input输入框

<template><input v-model="initial" v-on:input="change"></input></template><script>export default {name: "test",data: () => ({initial: "Initial Value"})......

2020-06-01
0