- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 usaco Fractions to Decimals
这是一道模拟题。 /* ID: guo geer PROG: fracdec LANG: C++ */ #include #include #include #include using namespace std; int note[300000]; int f(int n) { int k=0; if(n==0) return 1; while(n) {
2011-11-04 09:17:12 826
原创 usaco Closed Fences
本来这道题目却被不想写的,因为方法有点麻烦。 不过最后还是耐下性子写了。呜…… 思路是挺简单的。 设观察位置为A,BC为多边形上的一条边。若有边挡住了A点的视线,刚更新A当前的视野。 如下图: 此时视野为BC1 此时视野为B1C 此时被完全挡住,没有视野。 代码如下: /* ID: guo geer PROG: fence4 LANG: C++ */ #i
2011-11-04 08:14:00 1281
php and mysql web development 4th edition 源码下载
2012-05-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人