09 2013 档案
摘要:简答题:1.说明动态链接库和静态链接库的区别。2.轮询任务调度和抢占式任务调度的特点3.简要说明数据库锁机制以及描述。算法题:1.给出任意一个正整数,算出大于(不小于??忘记了)它的最小不重复数(即不存在相邻两个数相同的情况)2.给出一个长度为N的字符串,求里面最长的回文子串长度。3.数轴上从左到右有n个点a[0],a[1]......a[n-1],现在有一根长度为L的绳子,问最多能覆盖多少个点。系统设计题:大概是:设计一个分布式缓冲服务器系统。要求服务器负荷均匀,按比例负荷,单点故障不影响集群,客户访问内容根据分类存放在不同的服务器中(能提高查找效率)。
阅读全文
摘要:1 //example_1.c2 3 #include 4 5 int main(void){6 printf("Hello World!! .\n");7 return 0;8 } 1 //example_2.c 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 int tprintf(const char *fmt, ...){11 va_list args;12 struct tm *tstruct;13 time_t t...
阅读全文
摘要:Judge InfoMemory Limit: 32768KBCase Time Limit: 10000MSTime Limit: 10000MSJudger: NormalDescriptionPlease calculate the answer of A*B, both A and B are integer.InputThe first line of input contains, the number of test cases. There is only line for each test case. It contains two integers.OutputFor e
阅读全文
摘要:题记 : 不要因为走的太远而忘记自己为什么而出发。1. 白书(算法竞赛入门经典)看完(每一句话都要读懂)2. 每次听完课把当天内容复习完(自习室10点以后复习)3. 微机实验要提前预习(把实验报告给看懂>=80%)4. 《汇编语言》 王爽 整本书要读完5. 每一次布置的作业在第一时间做完(争取课堂搞定)6. 要保证自己的作业是原创(即使惨不忍睹)7. 再有了自己的原创版本后去寻求更好的版本8. 每次写代码之前不要马上就写代码,要先整理好自己的思路(包括没一个细节)9. 记笔记(列出提纲)10. 尽量在上课时把老师讲的每一个细节都弄懂.下学期任务:课堂:数据结构、算法分析与设计、微型计算机
阅读全文
摘要:这一章习题做着很舒服,毕竟很简单。所以很有感觉。练习 2-1Write a program to determine the ranges of char , short , int , and long variables, both signed and unsigned , by printing appropriate values from standard headers and by direct computation. Harder if you compute them: determine the ranges of the various floating-point
阅读全文
摘要:第一章虽然感觉不像是个习题。但是我还是认真去做,去想,仅此而已!练习 1-1Run the "hello, world" program on your system. Experiment with leaving out parts of the program, to see what error messages you get.1 #include 2 int main(int argc, char const *argv[])3 {4 printf("Hello, world\n");5 return 0;6 }收获 : 学习一门新程序设计语
阅读全文

浙公网安备 33010602011771号