02 2014 档案
摘要:【数据结构】书上代码: 1 #include 2 #include 3 #include 4 typedef struct node 5 { 6 int num; 7 struct node *next; 8 }NODE; 9 10 NODE *create() 11 { 12 NODE *head,*tail,*p; 13 int num; 14 15 head=tail=NULL; 16 printf("input until -1\n"); 17 scanf("%d",&num); 18 while(n...
阅读全文
摘要:问题如下:问题 B: Rails时间限制: 1 Sec 内存限制: 64 MB提交: 14 解决: 4[提交][状态][讨论版]题目描述There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to establish only a surface track...
阅读全文
摘要:刚在昨天参加了一场JS入门编程的活动,目的就是提升对JS的兴趣。因为是针对零基础开发者的,一上来就是“Hello World!”了当然,想用JS输出"Hello World!"也有不止一种方法第一种:document.write("Hello World!");alert("Hello World");第二种:var str ="Hello World!";alert(str);随后提到了,JS是一种弱类型的语言比如JS的变量可以赋值为:var str = undifined;在JS中,下列两种操作也都会得出不同的
阅读全文