摘要: 首先看一下题目 Consider the set of all reduced fractions between 0 and 1 inclusive with denominators less than or equal to N. Here is the set when N = 5: Wri 阅读全文
posted @ 2017-06-19 21:06 软件学院菜菜的万众 阅读(255) 评论(0) 推荐(0)
摘要: 首先看一下题目。 In a stroke of luck almost beyond imagination, Farmer John was sent a ticket to the Irish Sweepstakes (really a lottery) for his birthday. Th 阅读全文
posted @ 2017-06-18 23:14 软件学院菜菜的万众 阅读(398) 评论(0) 推荐(0)
摘要: 自己写的Java代码怎么也无法操作MySQL的写操作,打印SQL语句没有问题,检查连接也没有问题,最后手动写了一条记录,发现主键重复了,但是当时表是空的!所以就很震惊,于是选择删表重新来一次,这回成功了,我怀疑是因为之前的清空操作并没有完成。 阅读全文
posted @ 2017-06-08 09:45 软件学院菜菜的万众 阅读(100) 评论(0) 推荐(0)
摘要: 这是原来的代码,在本机跑的时候没有问题,但是在评测的时候报错了。错误信息如下: program:_malloc.c:2392:_sysmalloc:_Assertion_`(old_top_==_initial_top_(av)_&&_old_size_==_0)_||_((unsigned_lon 阅读全文
posted @ 2017-06-06 19:52 软件学院菜菜的万众 阅读(283) 评论(0) 推荐(0)