码迷,mamicode.com
首页 >  
搜索关键字:sample    ( 5142个结果
hdu 1061 快速幂
求n^n的个位Sample Input234Sample Output76直接快速幂了,注意要用long long 1 #include 2 long long quick_mod(long long a,long long b,long long m) { 3 long long ans ...
分类:其他好文   时间:2015-02-08 11:30:55    阅读次数:177
委托与事件
1 namespace learn.Sample 2 { 3 public delegate void DoGreeting(string name);//声明一个委托 4 public class ManagerHello 5 { 6 public eve...
分类:其他好文   时间:2015-02-07 21:28:17    阅读次数:217
poj 1753
翻转棋,注意是翻转周围四个的,不是整行列的 汗-_-!哥的代码风还是不错的二进制储存状态Sample InputbwwbbbwbbwwbbwwwSample Output4 1 #include 2 #include 3 #include 4 #include 5 #include 6 #inclu...
分类:其他好文   时间:2015-02-07 13:00:23    阅读次数:120
Standard Numeric Format Strings
The following table describes the standard numeric format specifiers and displays sample output produced by each format specifier. See theNotessection...
分类:其他好文   时间:2015-02-07 01:39:00    阅读次数:249
poj 1019
公式看不懂题意是给一串 1 12 123 1234 12345 123456 。。。。这样的数字问第i个数字是多少Sample Input283Sample Output22 1 #include 2 #include 3 #include 4 using namespace std; 5 unsi...
分类:其他好文   时间:2015-02-06 18:34:10    阅读次数:97
android studio no marked region found along edge Found along top edge
由于种种原因,导致9图已经不是9图格式了,但是在Eclipse里面不会报错,在android studio 里面会报错Error:9-patch image D:\download\avatar-android-master\avatar-android-master\sample\src\main...
分类:移动开发   时间:2015-02-06 10:56:36    阅读次数:713
Android 蓝牙通信
Android 蓝牙传文件比较常见,但是官方也给出了基于蓝牙通讯做了个聊天室的sample,BluetoothChat。有兴趣的可以下载看下,很有意思。通讯那块用了特殊的BluetoothSocket。思路跟一般socket通讯一样。必须有服务端和客户端。sample有三个类:BluetoothChat,BluetoothChatService,DeviceListActivity。 Bluet...
分类:移动开发   时间:2015-02-05 11:21:33    阅读次数:175
CocoStudio1.2.0.1做装备切换
尊重原创,源地址:http://www.cocoachina.com/bbs/read.php?tid=194122 CocoStuido sample----DemoMap 源代码地址   https://github.com/chukong/CocoStudioSamples   大家可以预先下载这个源代码, 等下要用到里面的图片资源哦     换装系统是游戏里面可以提升游戏内容的部...
分类:其他好文   时间:2015-02-04 16:44:28    阅读次数:238
PHP 操作 Excel PHPExcel 详解 --转
header header("Content-Type:application/vnd.ms-excel"); header("Content-Disposition:attachment;filename=sample.xls"); header("Pragma:no-cache"); header("Expires:0"); 2.PHPExcel http://www.codeplex....
分类:Web程序   时间:2015-02-03 23:13:37    阅读次数:593
(寒假CF3)坑坑坑
题意 :求期望题解 :找规律,列举几个,然后找到规律。坑点:要简化,不简化数字一大就wa了Sample InputInput6 1Output3.500000000000Input6 3Output4.958333333333Input2 2Output1.750000000000HintConsi...
分类:其他好文   时间:2015-02-03 21:14:52    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!