码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
用栈+循环实现走迷宫及演示c++
main.cpp 1 #include <stdio.h> 2 #include "mystack.h" 3 #include <stdlib.h> 4 #include <string.h> 5 #include <windows.h> 6 using namespace std; 7 #defi ...
分类:编程语言   时间:2021-02-26 13:21:08    阅读次数:0
C#更换桌面壁纸
WallpaperHelper.cs文件: using Microsoft.Win32; using System.IO; using System.Runtime.InteropServices; namespace NPOIDemo { /// <summary> /// 更换壁纸 /// </ ...
分类:Windows程序   时间:2021-02-26 13:00:29    阅读次数:0
.net core 下运行 supersocket
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Loggi ...
分类:Web程序   时间:2021-02-25 11:54:20    阅读次数:0
Codeforces Round #697 (Div. 3) A. Odd Divisor
Aimee 只要不能写成$2N N \subseteq N*$就肯定有 #include<iostream> #include<cstdio> #include<cmath> #define int long long using namespace std; int n,m; int prime[ ...
分类:其他好文   时间:2021-02-24 13:26:00    阅读次数:0
Codeforces Round #704 (Div. 2)
Codeforces 难得有一次不熬夜的比赛。 A 送分题,记得开 long long。 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; #define in ...
分类:其他好文   时间:2021-02-24 13:20:53    阅读次数:0
1090 Highest Price in Supply Chain (25 分)
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:其他好文   时间:2021-02-24 13:16:47    阅读次数:0
AtCoder Beginner Contest 145
A - Circle #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int r; int main(){ cin >> r; cout << r * r << end ...
分类:其他好文   时间:2021-02-24 13:15:50    阅读次数:0
Codeforces 1492D - Genius's Gambit (构造)
Codeforces Round #704 (Div. 2) D. Genius's Gambit 题意 要求构造出两个不包含前导0的二进制数字$x,y$,满足: $x,y$都具有$a$个$0$和$b$个$1$ $x-y$具有$k$个$1$ 限制 \(a\ge 0\) \(b\ge 1\) \(0\ ...
分类:其他好文   时间:2021-02-24 13:11:12    阅读次数:0
[CF1375F] Integer Game
\(\text{Problem}:\)题目链接 \(\text{Solution}:\) 记一个状态为有序三元组 \((x,y,z)\)。 当 \(x<y<z\) 时,考虑先手一步必胜的情况:当 \(z-y=y-x\) 且后手上一步选了 \(z\) 时,先手给定 \(z-y\) 这个数。 当 \(x ...
分类:其他好文   时间:2021-02-24 13:02:04    阅读次数:0
字符串交替出现
using System; namespace leecode1 { class Program { static void Main(string[] args) { string outString= string.Empty; string s1 = "abc"; string s2 = "p ...
分类:其他好文   时间:2021-02-24 12:48:10    阅读次数:0
54256条   上一页 1 ... 36 37 38 39 40 ... 5426 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!