namespace 刘老师双色球{ class Program { static void Main(string[] args) { int count = 0; Console.WriteLine("请输入你的双色球号码"); ArrayList Ual = new ArrayList(); f...
分类:
其他好文 时间:
2015-04-08 23:17:52
阅读次数:
160
namespace ArrayList集合的语句示例{ class Program { static void Main(string[] args) { //一:Stack集合(没有索引) 先进后出,一个一个赋值,一个一个取值,按顺序 //Stack ss = new Stack(); //ss....
分类:
其他好文 时间:
2015-04-08 23:17:44
阅读次数:
201
namespace 集合习题练一练{ class Program { static void Main(string[] args) { Console.WriteLine("请输入你们班的人数:"); int n = Convert.ToInt32(Console.ReadLine()); Arr...
分类:
其他好文 时间:
2015-04-08 23:13:37
阅读次数:
220
#include#define N 5using namespace std;int main(){ int a[4][5]={1,2,-1,-4,-20,-8,-3,4,2,1,3,8,10,1,3,-4,-1,1,7,-6},i,j; for(i=0;i<N-1;i++) { ...
分类:
编程语言 时间:
2015-04-08 23:12:15
阅读次数:
199
namespace 集合__双色球练一练{ class Program { static void Main(string[] args) { // while (true) // { // ArrayList al = new ArrayList(); // al.Add(1); al.Add(....
分类:
其他好文 时间:
2015-04-08 23:05:25
阅读次数:
117
#include "stdafx.h"
#include using namespace std; void func(char str[100])
{ cout<<sizeof(str)<<endl;
} int main()
{ char str[100]; func(str); //str传入...
分类:
其他好文 时间:
2015-04-08 23:03:27
阅读次数:
221
namespace 英雄联盟对战{ class Program { struct player { public string name; public int hp; public int gj; public int fy; public int dj; public jn jineng; /....
分类:
其他好文 时间:
2015-04-08 23:03:03
阅读次数:
282
//堆栈,数组实现#includeusing namespace std;#define Maxsize 100class stack{public: int data[Maxsize]; int top = -1; //保存栈顶下标值};int pop(stack*ptrl);...
分类:
编程语言 时间:
2015-04-08 22:59:34
阅读次数:
204
namespace 集合与特殊集合{ class Program { static void Main(string[] args) { ArrayList al = new ArrayList(); al.Add("李青"); al.Add("约里克"); al.Add("安妮"); al.Add...
分类:
其他好文 时间:
2015-04-08 22:49:35
阅读次数:
151
被这道题吓到了,看起来很复杂#include using namespace std;int main(){ int n,k; while(cin >> n >> k) { if(n 0) cout << (2*n/k...
分类:
其他好文 时间:
2015-04-08 22:49:14
阅读次数:
133