码迷,mamicode.com
首页 >  
搜索关键字:world space    ( 29110个结果
Codeforces Round #712 (Div. 2)(A~C)
A. Déjà Vu 本题的思路是找一个位置使得新添加的a所对应的字符不是a即可。 AC代码如下(可能写复杂了): #include<bits/stdc++.h> #define MAXN 300005 using namespace std; typedef long long ll; int t ...
分类:其他好文   时间:2021-04-06 14:48:59    阅读次数:0
Codeforces Round #712 (Div. 2) A~E 题解
本场链接:Codeforces Round #712 (Div. 2) A. Déjà Vu 签到题,尝试一下插入首位元素或者插入第一个不是a的位置.两者都不行必然是NO. #define _CRT_SECURE_NO_WARNINGS #include <bits/stdc++.h> using ...
分类:其他好文   时间:2021-04-06 14:34:27    阅读次数:0
AtCoder Beginner Contest 049 B - Thin
Problem Statement There is an image with a height of H pixels and a width of W pixels. Each of the pixels is represented by either . or *. The charact ...
分类:其他好文   时间:2021-04-05 12:52:04    阅读次数:0
CCF-CSP-2016-04-1折点计数
链接:http://118.190.20.162/view.page?gpid=T42 代码: #include<bits/stdc++.h> using namespace std; vector<int> ve; int main (){ int n,num; cin>>n; for(int i ...
分类:其他好文   时间:2021-04-05 12:29:58    阅读次数:0
Syntax error on token "class", @ expected
这个问题主要是因为定义类的时候在类名后边加了个括号(); `public class Hello { public static void main(String[] args) { System.out.print("Hello World!"); System.out.println();//换 ...
分类:其他好文   时间:2021-04-05 12:26:42    阅读次数:0
<八>实现服务代理,利用特性自动封装服务路由
上一节我们把服务路由改由客户端传入了,但是每次都要在客户端这里写命名空间啥的比较麻烦,这应该在写方法的时候就应该规定好。这时候特性就派上用场了。 想要了解特性的使用的请参考这篇文章:【.net 深呼吸】自定义特性(Attribute)的实现与检索方法 1、首先添加两个特性类,一个用于接口,一个用于方 ...
分类:其他好文   时间:2021-04-05 12:19:02    阅读次数:0
vue 快速入门 系列 —— 侦测数据的变化 - [基本实现]
其他章节请看: vue 快速入门 系列 侦测数据的变化 - [基本实现] 在 初步认识 vue 这篇文章的 hello-world 示例中,我们通过修改数据(app.seen = false),页面中的一行文本(现在你看到我了)就不见了。 这里涉及到 Vue 一个重要特性:响应式系统。数据模型只是普 ...
分类:其他好文   时间:2021-04-05 12:12:18    阅读次数:0
随机数模板
namespace rad{ mt19937_64 R(time(0)); inline int Rand(int l,int r){ uniform_int_distribution<int> distribution(l,r); return distribution(R); } } using ...
分类:其他好文   时间:2021-04-05 12:01:44    阅读次数:0
实验2
#include <stdio.h> int main() { int num; scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num); printf("2049%04d\n", num); scanf("%d", &num) ...
分类:其他好文   时间:2021-04-02 13:20:35    阅读次数:0
「SWTR-03」Counting Trees
XVI.「SWTR-03」Counting Trees 说起来他们那场比赛还找我帮忙验了这题来着的,然后我$50%$暴力都不会 先说结论:任何度数之和等于$2m-2$的$m$个节点,都可以构成至少一颗树。该结论可以通过一个名叫prufer序列的神奇玩意证出。 于是我们现在就有这样的判别式: \(\s ...
分类:其他好文   时间:2021-04-02 13:17:18    阅读次数:0
29110条   上一页 1 ... 21 22 23 24 25 ... 2911 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!