码迷,mamicode.com
首页 >  
搜索关键字:slimming paint    ( 1185个结果
zoj3781 Paint the Grid Reloaded --- 缩点 bfs
╮(╯▽╰)╭水题 相连的相同色块缩成点,和相邻的不同色块建边。 以每一个点为起点bfs,求最小答案。 #include #include #include #include #include #include #include #include #include #define inf 0x3f3f3f3f #define ll long long #define...
分类:其他好文   时间:2014-05-07 08:15:59    阅读次数:328
zoj 3781 Paint the Grid Reloaded (比较隐含的最短路)
Paint the Grid Reloaded Time Limit: 2 Seconds      Memory Limit: 65536 KB Leo has a grid with N rows and M columns. All cells are painted with either black or white initially. Two cells A ...
分类:其他好文   时间:2014-05-07 07:28:35    阅读次数:480
zoj 3780 Paint the Grid Again (拓扑排序)
Paint the Grid Again Time Limit: 2 Seconds      Memory Limit: 65536 KB Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black or white). Leo has a...
分类:其他好文   时间:2014-05-07 06:56:10    阅读次数:470
C#-gdi绘图,双缓冲绘图,Paint事件的触发---ShinePans
在使用gdi技术绘图时,有时会发现...
分类:其他好文   时间:2014-05-03 17:39:25    阅读次数:327
android 用paint,canvas 绘图
(1)主要用了paint ,canvas 两个类中的方法 (2)主要用了画线和画圆的方法。 (3)drawline(起始点轴坐标,起始点y轴坐标,终点轴坐标,终点y轴坐标) (4)drawcircle(圆心x轴坐标,圆心y轴坐标,半径,画布) 效果图: 直接上代码了: package com.example.drawpicture; import android.conten...
分类:移动开发   时间:2014-04-27 22:44:20    阅读次数:364
1185条   上一页 1 ... 117 118 119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!