码迷,mamicode.com
首页 >  
搜索关键字:switch break stringbuffer(char) 随机数范围    ( 52221个结果
实验六 结构体
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] ...
分类:其他好文   时间:2021-06-11 18:23:03    阅读次数:0
实验6
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] ...
分类:其他好文   时间:2021-06-11 18:22:43    阅读次数:0
实验6 结构体
1. #include<stdio.h>#include<stdlib.h>#include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20 ...
分类:其他好文   时间:2021-06-11 18:20:49    阅读次数:0
Operator2
/* 四则运算当中的加号”+“有常见的三种用法: 1对于数值来说,那就是加法。 2对于字符char类型来说,在计算之前,char会被提升为int,然后在计算。 char类型字符,和int类型数字,之间的对照关系表:ASCII、Unicode。 3对于任何字符串String(首字母大写,并不是关键字) ...
分类:其他好文   时间:2021-06-11 18:16:24    阅读次数:0
实验六
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 typedef struct student { int id; /*学生学号 */ char name[20]; /*学生姓名 */ char subject[2 ...
分类:其他好文   时间:2021-06-11 18:15:08    阅读次数:0
实验六
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student{ int id; char name[20]; char subject[20]; float perf; float ...
分类:其他好文   时间:2021-06-11 18:08:13    阅读次数:0
数据类型
数据类型: 整数(byte,short,int,long)1 数值型1 浮点数(float,double)1 基本数据类型1 字符(char)1 数据类型 非数值型2 布尔(boolean)2 引用数据类型2 类(class)2 接口(interface)2 数组([])2 数据类型内存占用和取值范 ...
分类:其他好文   时间:2021-06-11 18:07:25    阅读次数:0
实验6
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student { int id; char name[20]; char subject[20]; float perf; floa ...
分类:其他好文   时间:2021-06-11 18:04:10    阅读次数:0
JAVA String介绍、常量池及String、StringBuilder和StringBuffer得区别. 以及8种基本类型的包装类和常量池得简单介绍
一、概述 String是代表字符串的类,本身是一个最终类,使用final修饰,不能被继承。 二、定义方式 方式一:直接赋值法 String str1 = "hello"; 方式二:创建法 String str2 = new String("hello"); 方式三:创建一个字符数组ch,new St ...
分类:编程语言   时间:2021-06-10 18:41:50    阅读次数:0
Math Show CodeForces - 846B
原题链接 考察:贪心+枚举 WA了n次,正解思维其实和A题一样,我想出了A题却没反应过本题,果然还是菜. 错误思路: 分两种方式,一个是从时间少做到时间多的,另一个是横向完成一组一组的子任务. 错误原因: 很明显没有枚举所有方式. 正确思路: 枚举做0~n组任务后,再从小到大做任务的耗费时间. ## ...
分类:其他好文   时间:2021-06-10 18:19:15    阅读次数:0
52221条   上一页 1 ... 8 9 10 11 12 ... 5223 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!