
杭电水题
如不如此都如此
懒惰的菜鸟
展开
-
杭电-1000-第一篇自然是最简单的求和
入门代码 求和 类似 hello world#includeint main()//求和{ int a,b; while (scanf("%d %d",&a,&b)!=EOF) printf("%d\n",a+b); return 0;}原创 2017-08-04 19:51:08 · 297 阅读 · 0 评论 -
杭电-5858-几何,思维
原题链接题意:求正方形内阴影面积。一个几何题想了无数方法,求角然后还是不会。百度答案,百度出三种都看看,各有各好处。先展示一个最好想的,但是代码有点点麻烦的 点击打开链接 首先连接辅助线方法三-有详解余弦定理求∠1和∠2,然后求三角形用a为边的 大扇形减去大三角形求出小弓形用a/2为边 小扇形减去小三角形求出大原创 2017-08-05 10:16:30 · 354 阅读 · 0 评论 -
2015长春区域赛 - J - Chip Factory HDU - 5536
John is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of products, every processor has a serial number. More specifically, the factory produces ...原创 2018-09-15 11:29:25 · 301 阅读 · 0 评论