码迷,mamicode.com
首页 >  
搜索关键字:namespace 命名空间    ( 47219个结果
猜数字游戏 计应192(西)第四组 贾宪谱
我用c#编写了一款猜数字游戏,系统随机生成一个1到100之间的数字,玩家进行猜测,如果猜错,提示玩家数字过大或过小,如果猜对恭喜玩家胜利,并且推出游戏。 #include<iostream> using namespace std; int main() { int num = rand() % 1 ...
分类:其他好文   时间:2021-04-13 12:04:34    阅读次数:0
网络流题目选解
这里有板子 最大流 view code namespace Flow { int tot=1,fi[N],ne[M],to[M],w[M],S,T,d[N],nn; inline void add(int x,int y,int c) { ne[++tot]=fi[x],fi[x]=tot,to[t ...
分类:其他好文   时间:2021-04-13 11:45:28    阅读次数:0
计应191西 第三组 康文龙
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions; namespace ConsoleApplication1{ class Class1 { pr ...
分类:其他好文   时间:2021-04-13 11:44:10    阅读次数:0
1.4 课后习题与实验
习题 1-1 请将下列公式翻译成表达式 3x + 5y $ \frac{c+1}{ab} $ $ \sqrt{3a^3}$ (n+2)(n-9) #include<iostream> #include<cmath> using namespace std; int main() { int x=1, ...
分类:其他好文   时间:2021-04-12 12:53:21    阅读次数:0
计应191(西)第六组 靳琳琳
四则运算代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ClassLibrary1{ public ...
分类:其他好文   时间:2021-04-12 12:51:16    阅读次数:0
2013年省赛答案
7)错误票据 解题思路:考察的是在不知数据个数的前提下存储一个数组的方法,这里可以采用sstream库的优势,进行巧妙地转化,进而解决此题。 #include <iostream> #include <sstream> using namespace std; const int maxn = 10 ...
分类:其他好文   时间:2021-04-12 12:46:54    阅读次数:0
Codeforces Round #713 (Div. 3) 题解
本场链接:Codeforces Round #713 (Div. 3) A. Spy Detected! #include <bits/stdc++.h> using namespace std; typedef long long ll; #define forn(i,x,n) for(int i ...
分类:其他好文   时间:2021-04-12 12:42:16    阅读次数:0
Bomb Game HDU - 3622
原题链接 题解:注意建立边 代码: #include <iostream> #include <algorithm> #include <cstring> #include <cmath> using namespace std; const int N = 5e3 + 9; const int M ...
分类:其他好文   时间:2021-04-12 12:34:29    阅读次数:0
ini文件读写
ini文件读写 添加帮组类 using System; using System.Text; using System.IO; using System.Runtime.InteropServices; namespace IniHelperDemo { public class IniConfig ...
分类:其他好文   时间:2021-04-12 12:32:03    阅读次数:0
XML文件操作
XML文件操作 实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XMLDemo { class Student { public string St ...
分类:其他好文   时间:2021-04-12 12:30:15    阅读次数:0
47219条   上一页 1 ... 20 21 22 23 24 ... 4722 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!