<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>limccn</title>
        <link>https://paragraph.com/@limccn</link>
        <description>undefined</description>
        <lastBuildDate>Thu, 23 Jul 2026 14:45:49 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>limccn</title>
            <url>https://storage.googleapis.com/papyrus_images/9a7f7681184f9efd1186dbac754aeaacb3000895595c2e2ec9193eebb71c6e6f.png</url>
            <link>https://paragraph.com/@limccn</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[操作系统，模拟进程管理之PCB块管理法，C语言实现]]></title>
            <link>https://paragraph.com/@limccn/pcb-c</link>
            <guid>vpRPDzGgyj2Lpaka0Lku</guid>
            <pubDate>Fri, 15 Jul 2022 08:47:30 GMT</pubDate>
            <description><![CDATA[首先大家祝福平安夜快乐啊，今天要发布的代码是一款C语言编写的模拟操作系统管理进程的程序调试环境TC，使用了PCB进行进程管理控制，建立三个基本的队列：等待、执行、阻塞进行模拟操作系统的进程管理，模拟进程的调度，模拟用户的创建、执行、阻塞、挂起、唤醒等操作 最近要准备准备操作系统考试，所以放一个程序跟大家分享 代码如下： /* *yctc cg */ #include "stdio.h" #include "dos.h" #include "stdlib.h" #include "conio.h" #define SEC 3 #define NULL 0 /*定义结构体*/ typedef struct PCB { int PID; int UID; struct PCB * next; }PCB; PCB *really , *excute , *wait; /*create queue header */ /*queue operation 入队*/ int enqueue(PCB *head , PCB *node) { PCB *p; p = head; if(p -> n...]]></description>
            <content:encoded><![CDATA[<p>首先大家祝福平安夜快乐啊，今天要发布的代码是一款C语言编写的模拟操作系统管理进程的程序调试环境TC，使用了PCB进行进程管理控制，建立三个基本的队列：等待、执行、阻塞进行模拟操作系统的进程管理，模拟进程的调度，模拟用户的创建、执行、阻塞、挂起、唤醒等操作</p><p>最近要准备准备操作系统考试，所以放一个程序跟大家分享</p><p>代码如下：</p><p>/* *yctc cg */ #include &quot;stdio.h&quot; #include &quot;dos.h&quot; #include &quot;stdlib.h&quot; #include &quot;conio.h&quot; #define SEC 3 #define NULL 0 /*定义结构体*/ typedef struct PCB { int PID; int UID; struct PCB * next; }PCB; PCB *really , *excute , *wait; /*create queue header */ /*queue operation 入队*/ int enqueue(PCB *head , PCB *node) { PCB *p; p = head; if(p -&gt; next == NULL) { head -&gt; next = node; return 1; } while(p) { if(p -&gt; next == NULL) { p -&gt; next = node; return 1; } else p = p -&gt; next; } }/*enquue*/ /*dequeue 出队列 */ PCB * dequeue(PCB *head) { PCB *p; p = head; if(p -&gt; next == NULL) { return NULL; } else { p = p -&gt; next; head -&gt; next = p -&gt; next; p -&gt; next = NULL; return p; } /*head to next*/ }/*dequeue*/</p><p>/*PCB operate*/ /*新建进程*/ int create() { PCB *p; p = (PCB*)malloc(sizeof(PCB)); p -&gt; next = NULL; printf(&quot;input PID and UID to a new processn&quot;); scanf(&quot;%d %d&quot;,&amp;p -&gt; PID,&amp;p -&gt; UID); if(enqueue(really , p)) printf(&quot;create a process: PID = %d UID = %dn&quot;, p -&gt; PID , p -&gt; UID); else printf(&quot;create Failedn&quot;); }/*create*/</p><p>/*执行 fexcute*/ int fexcute() { PCB *p = dequeue(really); if(p == NULL) { printf(&quot;NO process in queue n&quot;); return 0; } else { enqueue(excute , p); printf(&quot;add a process into excute queue process: PID = %d UID= %d n&quot; ,p-&gt;PID , p-&gt;UID); return 1; } }/*excute*/</p><p>int suspend() { PCB *p = dequeue(excute); if(p == NULL) { printf(&quot;NO process in queue n&quot;); return 0; } else { enqueue(really , p); printf(&quot;add a process into really queue process: PID = %d UID= %d n&quot; ,p-&gt;PID , p-&gt;UID); return 1; } }</p><p>int wake() { PCB *p = dequeue(wait); if(p == NULL) { printf(&quot;NO process in queue n&quot;); return 0; } else { enqueue(really , p); printf(&quot;add a process into wait really process: PID = %d UID= %d n&quot; ,p-&gt;PID , p-&gt;UID); return 1; } }</p><p>int block() { PCB *p = dequeue(excute); if(p == NULL) { printf(&quot;NO process in queue n&quot;); return 0; } else { enqueue(wait , p); printf(&quot;add a process into wait queue process: PID = %d UID= %d n&quot; ,p-&gt;PID , p-&gt;UID); return 1; } }/*block*/ /*输出队列 outputqueue*/ int outputqueue(PCB *head) { PCB *p; if(head -&gt; next == NULL) {/*队列为空*/ printf(&quot;queue is null n&quot;); return 1; } p = head -&gt; next; /*node pointer*/ while(p) {/*打印process id UID*/ printf(&quot;PID = %d UID = %d n&quot; , p -&gt; PID , p -&gt; UID); p = p -&gt; next; } return 0; } /*output输出*/ int output() { printf(&quot;REALLLY QUEUE:n&quot;); outputqueue(really); printf(&quot;EXCUTE QUEUE: n&quot;); outputqueue(excute); printf(&quot;WAIT QUEUE: n&quot;); outputqueue(wait); }/*output*/ /*init 初始化*/ int init() { PCB *p; clrscr(); really = (PCB*)malloc(sizeof(PCB)); really -&gt; next=NULL; excute = (PCB*)malloc(sizeof(PCB)); excute -&gt; next=NULL; wait = (PCB*)malloc(sizeof(PCB)); wait -&gt; next = NULL; printf(&quot;____________PROCESS SECHUDLE__________n&quot;); printf(&quot;now initing.....................n&quot;); printf(&quot;input PID and UID as integer , 0 0 as overn&quot;); while(1) { p = (PCB*)malloc(sizeof(PCB)); p -&gt; next = NULL; scanf(&quot;%d %d&quot;,&amp;p -&gt; PID , &amp;p -&gt; UID); if(p -&gt; PID == 0 &amp;&amp; p -&gt; UID == 0) break; else { if(enqueue(really , p)) { printf(&quot;new process PID = %d UID = %d added!n&quot;,p -&gt; PID , p -&gt; UID); } else return 0; } } return 1; }/*init*/ /*运行一个process*/ int run() { PCB *p = excute; int s = SEC; if(excute -&gt; next == NULL) { printf(&quot;no process in excute queue n&quot;); return 0; } else { p = excute -&gt; next; printf(&quot;system will sleep %ds as process runningn&quot;,s); sleep(3);/*sleep as process runing time*/ printf(&quot;process: PID = %d UID= %d excute successed..n&quot; , p -&gt; PID , p -&gt; UID ); excute -&gt; next = p -&gt; next; free(p); } }/*run*/ /*离开*/ int leave() { PCB *p,*t; while(really-&gt;next || excute-&gt;next || wait-&gt;next) { p = really -&gt; next; while(p) { t = p -&gt; next; free(p); p = t; } really -&gt; next = NULL; p = wait -&gt; next; while(p) { t = p -&gt; next; free(p); p = t; } wait -&gt; next = NULL; p = excute -&gt; next; while(p) { t = p -&gt; next; free(p); p = t; } excute -&gt; next = NULL; } exit(0); }/*leace*/</p><p>int help() { printf(&quot;_____________________HELP MENU_____________________n&quot;); printf(&quot;t-h HELP show help optionn&quot;); printf(&quot;t-c CREATE create a new process , and put to really queuen&quot;); printf(&quot;t-b BLOCK block a process in excute queuen&quot;); printf(&quot;t-w WAKE wake a process in wait queuen&quot;); printf(&quot;t-e EXCUTE excute a process in really queuen&quot;); printf(&quot;t-s SUSPEND suspend a process in excute queuen&quot;); printf(&quot;t-o OUTPUT output all processes in queuesn&quot;); printf(&quot;t-r RUN excute a process in excute queuen&quot;); printf(&quot;t-x EXIT exit this programn&quot;); printf(&quot;___________________________________________________n&quot;); printf(&quot;t type &apos;H&apos; will show this menun&quot;); }/*help*/</p><p>int main() { char COMMAND = NULL; if( init() != 1) { printf(&quot;init falied ! n &quot;); getch(); exit(0); } else { printf(&quot;init...OKn&quot;); output(); help(); } while(1) { /*当三队列都不空 执行调度 */ printf(&quot;&gt;&quot;); scanf(&quot;%c&quot;,&amp;COMMAND); switch(COMMAND) { case &apos;n&apos;: break; case &apos;H&apos;: case &apos;h&apos;: help(); break; case &apos;C&apos;: case &apos;c&apos;: create(); break; case &apos;B&apos;: case &apos;b&apos;: block(); break; case &apos;W&apos;: case &apos;w&apos;: wake(); break; case &apos;S&apos;: case &apos;s&apos;: suspend(); break; case &apos;E&apos;: case &apos;e&apos;: fexcute(); break; case &apos;O&apos;: case &apos;o&apos;: output(); break; case &apos;X&apos;: case &apos;x&apos;: leave(); break; case &apos;R&apos;: case &apos;r&apos;: run(); break; } } }/*main*/</p><hr><p>title: &quot;操作系统，模拟进程管理之PCB块管理法，C语言实现&quot; date: &quot;2008-12-24&quot; categories:</p><ul><li><p>&quot;algorithms&quot; tags:</p></li><li><p>&quot;ccplusplus&quot;</p></li><li><p>&quot;os&quot;</p></li></ul><hr>]]></content:encoded>
            <author>limccn@newsletter.paragraph.com (limccn)</author>
        </item>
        <item>
            <title><![CDATA[常见的软件公司变态的面试编程题目的解决办法]]></title>
            <link>https://paragraph.com/@limccn/KtXjmOcQYWCIFnM0oDb3</link>
            <guid>KtXjmOcQYWCIFnM0oDb3</guid>
            <pubDate>Mon, 27 Jun 2022 05:14:34 GMT</pubDate>
            <description><![CDATA[今天上博客园转转，看到一篇介绍常见的软件公司变态的面试编程题目的日志遂决定提前解决调，早有准备，要是诸位网友曾经经历这些问题的话，欢迎留言感激！ 1.任意给定一个整数n，请写出一个算法计算 1-2+3-4+5-6+7……n的结果。 错答：这么答的话,多一个FOR循环，效率可是极低的，O(n），软件公司肯定不要你了。 int n = this.TextBox1.Text.ToString(); //原文错误，C#语言，改为int n=Int.Prase(this.TextBox1.Text.ToString()); int Sum = 0 ; for (int i = 0 ; i < n + 1 ; i++) { if((i%2) == 1) { Sum += i; } else { Sum = Sum - i; } } 正解:分析下算式的结构 可知道（1-2）=（3-4）=……=（2n-1）-（2n）= -1那么用回溯法就可以推导 结果是 n/2 个-1 加上个 n 咯，再判断N的符号就可以知道结果了本算法开销只有 O（1） int n = input(); int result...]]></description>
            <content:encoded><![CDATA[<p>今天上博客园转转，看到一篇介绍常见的软件公司变态的面试编程题目的日志遂决定提前解决调，早有准备，要是诸位网友曾经经历这些问题的话，欢迎留言感激！</p><p>1.<strong>任意给定一个整数n，请写出一个算法计算 1-2+3-4+5-6+7……n的结果</strong>。</p><p>错答：这么答的话,多一个FOR循环，效率可是极低的，O(n），软件公司肯定不要你了。</p><p>int n = this.TextBox1.Text.ToString(); //原文错误，C#语言，改为int n=Int.Prase(this.TextBox1.Text.ToString()); int Sum = 0 ; for (int i = 0 ; i &lt; n + 1 ; i++) { if((i%2) == 1) { Sum += i; } else { Sum = Sum - i; } }</p><p>正解:分析下算式的结构 可知道（1-2）=（3-4）=……=（2n-1）-（2n）= -1那么用回溯法就可以推导 结果是 n/2 个-1 加上个 n 咯，再判断N的符号就可以知道结果了本算法开销只有 O（1）</p><p>int n = input(); int result=(-1) * (n/2) + (n)*(n%2 ? -1:1); printf(&quot;%d&quot;,result);</p><p>2.<strong>任意给定一个整数n，显示n的2008次方的末四位。</strong></p><p>错答：一个数的2008方结果不溢出才怪，软件公司肯定要考虑是否要你了</p><p>void main() { int Y,P; Y=n^2008; cout&lt;&lt;&quot;n的2008次方是：&quot;&lt;</p><p>正解：总结分析分析一般1~5的2008次方结果一样的,5^2008一般不会 溢出吧，要是再精简，可以换成n^1004*n^1004，或者502*502* 502*502的形式，结果是一样的</p><p>long n=input(); long result=((n%6)^2008)%1000;//可以换1004*1004 cout&lt;</p><p><strong>3.A、B两个整数，请写出一个算法不借助其他变量将两个数值对换。</strong></p><p>正解：两个数交换比借用第三变量，单片开发中肯定会用到的，时间换空间 华为考过N次</p><p>void main() { cout&lt;&lt;&quot;转换前A=&quot;&lt;</p><hr><p>title: &quot;常见的软件公司变态的面试编程题目的解决办法&quot; date: &quot;2008-12-13&quot; categories:</p><ul><li><p>&quot;algorithms&quot; tags:</p></li><li><p>&quot;ccplusplus&quot;</p></li></ul><hr>]]></content:encoded>
            <author>limccn@newsletter.paragraph.com (limccn)</author>
        </item>
        <item>
            <title><![CDATA[国内国外主要搜索引擎网址登录、收录、录入、入口及说明]]></title>
            <link>https://paragraph.com/@limccn/47W3oW6OLQsxeGghi53n</link>
            <guid>47W3oW6OLQsxeGghi53n</guid>
            <pubDate>Mon, 27 Jun 2022 05:08:11 GMT</pubDate>
            <description><![CDATA[本文是作者对自己使用各大搜索引擎的经验分享，专业术语叫SEO啦,希望对广大博客爱好者，SEO专家有所帮助 以下是主要中文搜索引擎的收录、录入、登录地址入口， 百度 说明：中文搜索引擎老大，收录速度一般，~排~名~据说很黑很暗，通常1~2周， 喜欢收录中文和拼音为主的关键字，使用网络蜘蛛大范围检索收录，比较占服务器资源 内容整理较少，收录内容比较乱，BLOG方面特别喜欢收录blog的TAG，分类的链接，不 喜欢作者，例如本人，当然对.cn结尾的域名特别照顾，拼音域名更佳。 http://www.baidu.com/search/url_submit.html google 中文搜索引擎 说明：比较科学公平地收录，通常先查看网站的sitemap，然后再 访问更新索引，如果网站更新快，索引更新也快，一般1~2周，但是收录较慢，拼音的或 者汉字的收录不太好，火星文往往有歧义的搜索，喜欢博客的TAG，分类，评论，就不喜 欢你的文章，（电脑不喜欢你的文采），不喜欢h1，偏偏喜欢h2，不喜欢跟X开头 的单词，通过网站认证的除外，对网站质量、内容检查较为严格，本站用了10天，5条收录， 有一最大...]]></description>
            <content:encoded><![CDATA[<p>本文是作者对自己使用各大搜索引擎的经验分享，专业术语叫SEO啦,希望对广大博客爱好者，SEO专家有所帮助</p><p>以下是主要中文搜索引擎的收录、录入、登录地址入口，</p><p><strong>百度</strong> 说明：中文搜索引擎老大，收录速度一般，~排~名~据说很黑很暗，通常1~2周， 喜欢收录中文和拼音为主的关键字，使用网络蜘蛛大范围检索收录，比较占服务器资源 内容整理较少，收录内容比较乱，BLOG方面特别喜欢收录blog的TAG，分类的链接，不 喜欢作者，例如本人，当然对.cn结尾的域名特别照顾，拼音域名更佳。 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://www.baidu.com/search/url_submit.html">http://www.baidu.com/search/url_submit.html</a></p><p><strong>google</strong> 中文搜索引擎 说明：比较科学公平地收录，通常先查看网站的sitemap，然后再 访问更新索引，如果网站更新快，索引更新也快，一般1~2周，但是收录较慢，拼音的或 者汉字的收录不太好，火星文往往有歧义的搜索，喜欢博客的TAG，分类，评论，就不喜 欢你的文章，（电脑不喜欢你的文采），不喜欢h1，偏偏喜欢h2，不喜欢跟X开头 的单词，通过网站认证的除外，对网站质量、内容检查较为严格，本站用了10天，5条收录， 有一最大大缺点，就是冷不丁因为某些“热门”关键字清除你所有的收录（911啦，（LA）？ 登？啦），不留任何情面，切记，切忌。 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://www.google.cn/intl/zh-CN/add_url.html">http://www.google.cn/intl/zh-CN/add_url.html</a></p><p><strong>Yahoo!中国</strong> 说明：中国第三大搜索引擎，比较喜欢非盈利的网站，目前已近跟Google 合作，同时自己有收录系统，站长工具，喜欢收录网上商店系统，博客系统，<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://xn--s1ru41c.org">喜欢.org</a> .net，.me，.name之类的个人网站，速度可以1~4周，本站12月5号提交，目前未收 录，最大的优点，喜欢跟淘宝，阿里巴巴，有点关系的网站，跟google共享一部分搜索 数据，做网店的可以考虑优化Yahoo，缺点，通常yahoo需要人工审核，编订索引，内 容方面要注意。 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://cn.yahoo.com/docs/info/suggest.html">http://cn.yahoo.com/docs/info/suggest.html</a></p><p><strong>搜狐/搜狗</strong> 说明：目前最难找的收录入口了，至今据说关闭了，搜狗现在开始使用google 的搜索结果，基本被google收录sogou就可以搜到，比较喜欢生僻字，火星文，因为他有 最牛B的输入法，以下入口以前我用过，现在可能无效。 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://db.sohu.com/regurl/regform.asp?Step">http://db.sohu.com/regurl/regform.asp?Step</a></p><p>新浪/爱问/iask 说明：国内注册用户最多的门户，爱问搜索是国内最早提供交互式问题搜索的 搜索引擎，目前使用的是google的搜索结果，跟google共享，但是iask还是提供爱问的登录 入口支持录入，一般1~2周会有收录，一般喜欢加了“？”的标题收录，记得在标题末尾加上 可爱的“？”一般会提高收录率，毕竟iask喜欢人问问题嘛 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://iask.com/guest/add_url.php">http://iask.com/guest/add_url.php</a></p><p>网易/有道 说明：163网易的搜索引擎，标榜新技术，博客搜索，翻译都是很快的，个人比较 喜欢博客搜索功能，个人博客用户可以考虑添加，优点。完全独立的搜索引擎，引用部分搜索 引擎结果，速度较快（内容较少），速度还是可以的，以前我的博客（非163）大概一周就收 录，缺点，先天起步较早，用户较少，带来的访问量不多，但质量优良 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://tellbot.youdao.com/report">http://tellbot.youdao.com/report</a></p><p><strong>腾讯/soso</strong> 说明：差！标准的山寨货SE，尽然还有这么高市场份额，内容全部来自google， 没有独立的收录入口，不过优点在于腾讯QQ拥有世界最多的IM用户，讨厌的QQ迷你首页提 供搜索功能，还有点利用价值吧，一般只要被google收录即可搜索得到 收录地址：没有发现</p><p>以下是主要的英文搜索引擎收录录入地址</p><p><strong>Google</strong> 说明：这个具体介绍就不说了，上面的中文google已经说明，站长必登录 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://www.google.com/addurl.html">http://www.google.com/addurl.html</a></p><p><strong>MSN live</strong> 说明：微软的搜索引擎，技术比较牛，也很老牌，但是大部分用户还只是知道MSN 是聊天工具，但是MS有着N多的操作系统用户可是不容小视的，IE和navigater的斗争结果大家 应该知道的，何况是在中国相信N多的D版XP吧，MSN是默认放IE的搜索引擎，很流氓，不过 很有用收录速度超慢，不过据说可以发Email联系管理员，E文不行就等吧。 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://search.msn.com/docs/submit.aspx?FORM=WSDD2">http://search.msn.com/docs/submit.aspx?FORM=WSDD2</a></p><p><strong>Alexa</strong> 说明：最权威的网站排名网站了，也提供搜索功能，不过我个人只是关注它提供的排 名信息登录速度很快，不过索引更新很慢，慢慢等吧 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://www.alexa.com/site/help/webmasters">http://www.alexa.com/site/help/webmasters</a></p><p>**Yahoo！**说明：是目前世界第二大搜索引擎，也是世界注册用户最多的世界级门户网站，世 界人均一个yahoo账号，收录速度很慢，据说要人工检索你的网站，目前已经实现跟google 分享结果，一般google收录的yahoo都可搜到，登录速度未知，反正就是等，如果你需要国 外用户的话，记得登录 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://siteexplorer.search.yahoo.com/submit">http://siteexplorer.search.yahoo.com/submit</a></p><p><strong>AOL</strong> 说明：美国在线，是最大的用户定制搜索引擎提供商，简单的就是它创造了N多的小型搜 索引擎，收录还是很快的，不区分是否是垃圾信息，网络蜘蛛直接抓取，如果要自己的网站被 较多的国外用户搜到的话，记得登录，不过目前在中国国内AOL的SE还是较少的，垃圾信息多 了，什么人，什么话都有，国内目前已近禁止了AOL的部分访问，不过国外用户还是很多的 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://search.aol.com/add.adp">http://search.aol.com/add.adp</a></p><p>欢迎在<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB">《共同创作协议》</a>下转载、修改，发布本文，转载请注明作者出处，谢谢，CG</p><hr><p>title: &quot;国内国外主要搜索引擎网址登录、收录、录入、入口及说明&quot; date: &quot;2008-12-12&quot; categories:</p><ul><li><p>&quot;blogskills&quot; tags:</p></li><li><p>&quot;google&quot;</p></li><li><p>&quot;seo&quot;</p></li><li><p>&quot;internet&quot;</p></li><li><p>&quot;shares&quot;</p></li></ul><hr>]]></content:encoded>
            <author>limccn@newsletter.paragraph.com (limccn)</author>
        </item>
        <item>
            <title><![CDATA[两款用C语言编写的学生信息成绩管理系统]]></title>
            <link>https://paragraph.com/@limccn/c</link>
            <guid>oHNTdsnGoQQAuvJepafb</guid>
            <pubDate>Mon, 27 Jun 2022 05:05:32 GMT</pubDate>
            <description><![CDATA[两款C语言编写的学生信息成绩管理系统，以前上C语言实习课编写源程序，时间记不得了现提供给初学者使用。要求：学生信息或者成绩进行管理的系统，要求有新建、增加、删除、修改、排序功能C语言或者C++编写，自己定义数据结构，使用模块化编程，要求使用链表或者数组进行操作实习 学生信息成绩管理系统1 完整程序源代码（下载地址）右击另存 说明：使用链表作为主要的数据结构使用，可以求出学生的总分跟个人的成绩排名，要求单独每个学生的输入学生的学好和成绩。 运行效果图如下: !学生管理系统一 学生信息成绩管理系统2 完整程序源代码（下载地址）右击另存说明：一款使用了图形界面和密码管理的学生信息管理系统，有较好的客户借口，需要BGI支持使用文件作为基本的数据存取方式，对学生的个人信息进行录入，修改、删除，等功能www.cg45.com CG 修改 运行效果图如下: !学生管理系统2 !学生管理系统2title: "两款用C语言编写的学生信息成绩管理系统" date: "2008-12-16" categories:"opensource""sourceandcoding" tags:"ccpluspl...]]></description>
            <content:encoded><![CDATA[<p>两款C语言编写的学生信息成绩管理系统，以前上C语言实习课编写源程序，时间记不得了现提供给初学者使用。要求：学生信息或者成绩进行管理的系统，要求有新建、增加、删除、修改、排序功能C语言或者C++编写，自己定义数据结构，使用模块化编程，要求使用链表或者数组进行操作实习</p><p>学生信息成绩管理系统1 完整程序源代码（下载地址）右击另存</p><p>说明：使用链表作为主要的数据结构使用，可以求出学生的总分跟个人的成绩排名，要求单独每个学生的输入学生的学好和成绩。</p><p>运行效果图如下:</p><p>!学生管理系统一</p><p>学生信息成绩管理系统2 完整程序源代码（下载地址）右击另存说明：一款使用了图形界面和密码管理的学生信息管理系统，有较好的客户借口，需要BGI支持使用文件作为基本的数据存取方式，对学生的个人信息进行录入，修改、删除，等功能<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://www.cg45.com">www.cg45.com</a> CG 修改</p><p>运行效果图如下:</p><p>!学生管理系统2</p><p>!学生管理系统2</p><hr><p>title: &quot;两款用C语言编写的学生信息成绩管理系统&quot; date: &quot;2008-12-16&quot; categories:</p><ul><li><p>&quot;opensource&quot;</p></li><li><p>&quot;sourceandcoding&quot; tags:</p></li><li><p>&quot;ccplusplus&quot;</p></li><li><p>&quot;datastructure&quot;</p></li></ul><hr>]]></content:encoded>
            <author>limccn@newsletter.paragraph.com (limccn)</author>
        </item>
        <item>
            <title><![CDATA[分享几条来自微软（Microsoft）的算法设计笔试试题]]></title>
            <link>https://paragraph.com/@limccn/microsoft</link>
            <guid>Qg1oF95C2C0Y2sGetSTR</guid>
            <pubDate>Tue, 21 Jun 2022 09:53:27 GMT</pubDate>
            <description><![CDATA[今天晚间上网转了转，看到了，几条来自微软（Microsoft）的几条笔试试题，主要是针对微软学生中心的实习机会的，诸位如果想到微软实习的话，可以考虑自己做做看，感觉上对初学者比较困难，本人目前是没时间写代码了，最近忙者考试，诸位如果有想法的话，直接留言，或者可以跟我联系吧， 第一题 一个整数数列，元素取值可能是0~65535中的任意一个数，相同数值不会重复出现 。0是例外，可以反复出现。 请设计一个算法，当你从该数列中随意选取5个数值，判断这5个数值是否连续相 邻。 注意： - 5个数值允许是乱序的。比如： 8 7 5 0 6 - 0可以通配任意数值。比如：8 7 5 0 6 中的0可以通配成9或者4 - 0可以多次出现。 - 复杂度如果是O(n2)则不得分。 试题2 设计一个算法，找出二叉树上任意两个结点的最近共同父结点。 复杂度如果是O(n2)则不得分。 试题3 一棵排序二叉树，令 f=(最大值+最小值)/2，设计一个算法，找出距离f值最近、 大于f值的结点。 复杂度如果是O(n2)则不得分。 试题4 一个整数数列，元素取值可能是1~N（N是一个较大的正整数）中的任意一个数，...]]></description>
            <content:encoded><![CDATA[<p>今天晚间上网转了转，看到了，几条来自微软（Microsoft）的几条笔试试题，主要是针对微软学生中心的实习机会的，诸位如果想到微软实习的话，可以考虑自己做做看，感觉上对初学者比较困难，本人目前是没时间写代码了，最近忙者考试，诸位如果有想法的话，直接留言，或者可以跟我联系吧，</p><p>第一题 一个整数数列，元素取值可能是0~65535中的任意一个数，相同数值不会重复出现 。0是例外，可以反复出现。 请设计一个算法，当你从该数列中随意选取5个数值，判断这5个数值是否连续相 邻。</p><p>注意： - 5个数值允许是乱序的。比如： 8 7 5 0 6 - 0可以通配任意数值。比如：8 7 5 0 6 中的0可以通配成9或者4 - 0可以多次出现。 - 复杂度如果是O(n2)则不得分。</p><p>试题2 设计一个算法，找出二叉树上任意两个结点的最近共同父结点。 复杂度如果是O(n2)则不得分。</p><p>试题3 一棵排序二叉树，令 f=(最大值+最小值)/2，设计一个算法，找出距离f值最近、</p><p>大于f值的结点。 复杂度如果是O(n2)则不得分。</p><p>试题4 一个整数数列，元素取值可能是1~N（N是一个较大的正整数）中的任意一个数，</p><p>相同数值不会重复出现。设计一个算法，找出数列中符合条件的数对的个数，满</p><p>足数对中两数的和等于N+1。 复杂度最好是O(n)，如果是O(n2)则不得分。</p><hr><p>title: &quot;分享几条来自微软（Microsoft）的算法设计笔试试题&quot; date: &quot;2008-12-19&quot; categories:</p><ul><li><p>&quot;algorithms&quot;</p></li></ul><hr>]]></content:encoded>
            <author>limccn@newsletter.paragraph.com (limccn)</author>
        </item>
    </channel>
</rss>