- 博客(11)
- 资源 (16)
- 收藏
- 关注
原创 UVA 409 Excuses, Excuses!
Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time required li
2014-05-20 15:34:18 440
原创 uva 537
Artificial Intelligence? Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and understan
2014-05-20 01:01:12 364
原创 单向链表的建立,添加与删除
/*-------------------------包含头文件------------------------------------*/#include#include#include#includeint count=0;/*-------------------------结构体定义部分------------------------------*/typede
2014-05-17 21:41:00 672
原创 单向链表的建立,添加与删除
/*-------------------------包含头文件------------------------------------*/#include#include#include#includeint count=0;/*-------------------------结构体定义部分------------------------------*/typede
2014-05-17 21:39:53 508
原创 gettimeofday
使用C语言编写程序需要获得当前精确时间(1970年1月1日到现在的时间),或者为执行计时,可以使用gettimeofday()函数。C语言函数编辑它的[1]:#include int gettimeofday(struct timeval*tv, struct timezone *tz);其参数tv是保存获取时间结果的结构体,参数tz用于保存时区结果:struc
2014-05-12 19:26:24 594
原创 sys/time.h
sys/time.h是Linux系统的日期时间头文件,sys/time.h通常会包含include time.h。编写的代码如果是平台无关的,则需要在代码里include time.h,但这样的话,使用time_t等数据结构的话可能需要手动:#define __need_time_t#define __need_timespec通常如果代码可以是平台相关的,则只需要incl
2014-05-12 19:22:48 970
转载 uva 10010 Where's Waldorf?
Where's Waldorf? Given a m by n grid of letters, (), and a listof words, find the location in the grid at which the word can be found.A word matches a straight, uninterrupt
2014-05-03 17:09:46 484 1
转载 uva 401 Palindromes
Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA" is apalindrome because it is th
2014-05-03 00:31:36 361
原创 uva 457 Linear Cellular Automata
A biologist is experimenting with DNA modification of bacterial colonies being grown in a linear array of culture dishes. By changing the DNA, he is able ``program" the bacteria to
2014-05-02 21:49:12 474
原创 uva 694
The Collatz Sequence An algorithm given by Lothar Collatz produces sequences of integers, and isdescribed as follows:Step 1:Choose an arbitrary positive integer A as the fi
2014-05-02 19:36:10 685
转载 C语言位运算详解
C语言位运算详解作者:911说明:本文参考了http://www2.tsu.edu.cn/www/cjc/online/cyuyan/,算是对其的修正,在此将本文列为原创,实有抄袭之嫌疑。甚是惭愧! 原文地址:http://www.cnblogs.com/911/archive/2008/05/20/1203477.html位运算是指按二进制进行的
2014-05-02 19:07:57 393
基于LEX的C语言词法分析器
2016-06-23
操作系统之页面置换
2016-01-10
操作系统课程设计之磁盘调度
2016-01-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人