摘要:
题目链接: "HDU 1686" Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a m 阅读全文
摘要:
题目链接: "HDU 1711" Problem Description Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 The first line of in 阅读全文
摘要:
所谓对拍,就是随机生成数据,然后用一个肯定正确的暴力算法的程序,去测试一个要提交的程序。 由于比赛中一般使用 Linux 系统,所以本篇博客的代码都是 Linux 下的程序代码。 ~~其实最简单的方式是写脚本。~~ 这里介绍的是用选手最熟悉的 C++ 语言写对拍程序。 假设要提交的程序为 sol.c 阅读全文
摘要:
题目链接: "HDU 5572" Problem Description On an infinite smooth table, there's a big round fixed cylinder and a little ball whose volume can be ignored. Cu 阅读全文
摘要:
题目链接: "HDU 1724" Problem Description Math is important!! Many students failed in 2+2’s mathematical test, so let's AC this problem to mourn for our lo 阅读全文
摘要:
Quartus II 仿真的默认时长是 1us。 设置时钟时看到 End time 想修改时长,把默认的 1us 改成 10us。 然后提示 End time 不合法。(只能设置为 0 到 1us) 正确的做法是在菜单栏选择 Edit End time,然后将 time 设置为 10us 就可以了。 阅读全文
摘要:
题目链接: "LightOJ 1248" Description Given a dice with n sides, you have to find the expected number of times you have to throw that dice to see all its f 阅读全文