2014年2月13日

摘要: E -Gold CoinsTime Limit:1000MSMemory Limit:30000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe king pays his loyal knight in gold coins. On... 阅读全文

posted @ 2014-02-13 20:54 ttop 阅读(153) 评论(0) 推荐(0)

摘要: D -We Love MOE GirlsTime Limit:500MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionChikami Nanako is a girl living in many di... 阅读全文

posted @ 2014-02-13 20:51 ttop 阅读(134) 评论(0) 推荐(0)

摘要: A -Who's in the MiddleTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFJ is surveying his herd to find the mo... 阅读全文

posted @ 2014-02-13 20:45 ttop 阅读(129) 评论(0) 推荐(0)

摘要: 查找练习 hash——出现过的数字 Time Limit: 1000MS Memory limit: 65536K 题目描述有一个数据字典,里面存有n个数字(nint a[100000]={0};int main(){ int m,n,i,b,c; scanf("%d %d",&n,&m... 阅读全文

posted @ 2014-02-13 12:18 ttop 阅读(123) 评论(0) 推荐(0)

摘要: 数据结构上机实验之二分查找Time Limit: 1000MS Memory limit: 65536K题目描述在一个递增的序列里,查找元素是否存在,若存在输出YES,不存在输出NO.输入本题多组数据,首先输入一个数字n,然后输入n个数,数据保证数列递增,然后再输入一个查找数字。输出若存在输出YES... 阅读全文

posted @ 2014-02-13 11:53 ttop 阅读(209) 评论(0) 推荐(0)