- 博客(22)
- 收藏
- 关注
原创 2016年开学感想
开学到现在已经五个周了,不知道为什么感到自己十分的懈怠,但同时心里面却感到十分的疲惫。这是一种很矛盾的感觉,或许是自己的心里面不热爱某些事而不想真正的付出些努力。对多花些时间去学习编程总想着敷衍了事,看着别人一直在努力的学习,我也认识到了自己要转变此刻的状态。把不热爱的事转变为喜欢做的事,这样才不会使自己这些时日的付出而白费。 失败一次不要紧,重要的是抓住以后的机会,把握住以后的时间。
2016-03-31 14:22:10 245
原创 2016年杭电1008
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 60547 Accepted Submission(s): 33223 Problem Description The highest building in o
2016-03-28 21:01:26 315
原创 2016年c#实验3.3:录入学号和姓名
using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void M
2016-03-25 17:00:05 1685
原创 2016年c#:猜数字
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args)
2016-03-25 16:21:33 992
原创 2016年数据结构:单链表的使用
#include #include #include #include using namespace std; typedef struct Lnode { char data; struct Lnode *Next; } LinkList; void CreateListF(LinkList * &L,char a[],int n) { LinkList *s
2016-03-23 13:38:04 262
原创 2016年数据结构:顺序表的使用
#include #include #include #include using namespace std; typedef struct { char data[1000]; int length; }SqList; void CreateList(SqList *&L,char a[],int n) { int i; L
2016-03-21 16:57:51 341
原创 2016年c#实验3.4:计算年龄和天数
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static
2016-03-18 17:20:52 1103
原创 2016年c#实验3.2:实验字符串反转
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { public static string Reverse(stri
2016-03-18 16:47:14 292
原创 2016年c#实验3.1
三种方法输出D:\C#程序设计\实验3\MyFile.TXT中的MyFile.TXT using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { stati
2016-03-18 16:24:38 258
原创 蓝桥杯暴力解题1:填写算式
填写算式 看这个算式: ☆☆☆ + ☆☆☆ = ☆☆☆ 如果每个五角星代表 1 ~ 9 的不同的数字。 这个算式有多少种可能的正确填写方法? 173 + 286 = 459 295 + 173 = 468 173 + 295 = 468 183 + 492 = 675 以上都是正确的填写法! 注意:
2016-03-14 16:24:40 1600
原创 2016年算法之大数乘法
#include #include #include using namespace std; int main() { string s1,s2; cin>>s1>>s2; int len1=s1.length(); int len2=s2.length(); int len=len1+len2; int a[len1],b[len2];
2016-03-11 19:48:10 311
原创 2016年c#实验2.2
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace consoleapplication1 { class Program { static void Main(string[] args)
2016-03-11 17:26:26 350
原创 2016年c#冒泡排序
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace consoleapplication1 { class Program { static void Main(string[] args)
2016-03-11 17:12:55 223
原创 2016年c#算平均分
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace consoleapplication1 { class Program { static void Main(string[] args)
2016-03-11 16:51:43 1497
原创 2016年c#判断回文
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace consoleapplication1 { class Program { static void Main(string[] args)
2016-03-11 16:49:57 614
原创 2016C#判断是否为闰年
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace consoleapplication1 { class Program { static void Main(string[] args)
2016-03-11 16:46:43 490
原创 2016年c#初使用
斐波那契数列第30个数是多少? using system; using system.collections.generic; using system.linq; using system.text; namespace consoleapplication1 { class program { static void main(string
2016-03-11 16:38:32 201
转载 2016年蓝桥杯:区间k大数查询
问题描述 给定一个序列,每次询问序列中第l个数到第r个数中第K大的数是哪个。 输入格式 第一行包含一个数n,表示序列长度。 第二行包含n个正整数,表示给定的序列。 第三个包含一个正整数m,表示询问个数。 接下来m行,每行三个数l,r,K,表示询问序列从左往右第l个数到第r个数中,从大往小第K大的数是哪个。序列元素从1开始标号。 输出格式 总共输出m行,每行一
2016-03-09 16:25:53 535
原创 2016数据结构试验1.2
求一个正整数的个位数字之和 #include using namespace std; int main() { int n,sum=0; cin>>n; while(n/10) { sum=n%10+sum; n=n/10; } cout<<sum+n<<endl; }
2016-03-07 16:10:01 361
原创 2016年杭电:Let the Balloon Rise
Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 99310 Accepted Submission(s): 38063 Problem Description Con
2016-03-03 15:04:51 437
原创 2016年:杭电A + B Problem II
A + B Problem II Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 295003 Accepted Submission(s): 56796 Problem Description I have
2016-03-02 18:37:12 308
原创 2016年:判断字符串是否为回文
Description 编写程序,判断输入的一个字符串是否为回文。若是则输出“Yes”,否则输出“No”。所谓回文是指順读和倒读都是一样的字符串。 Input Output Sample Input abcddcba Sample Output Yes HINT Source#include #include #include #incl
2016-03-02 16:01:41 2325
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人