上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页
摘要: Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calcula... 阅读全文
posted @ 2015-07-05 15:57 Vmetrio 阅读(154) 评论(0) 推荐(0)
摘要: Problem Descriptionlcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT probl... 阅读全文
posted @ 2015-07-05 11:35 Vmetrio 阅读(161) 评论(0) 推荐(0)
摘要: printf关于对其的问题(参考有关博客加上自己的一些总结)1、关于左对齐或右对齐问题, 默认的如果%后没有“-”是右对齐的,如果%后跟“0”,不足的个数用0来填充, 例如:printf("%02d ,%-02d", 5,5);输出05,5_2、还有一个技巧,printf("%02d,%.2d",5... 阅读全文
posted @ 2015-07-05 11:00 Vmetrio 阅读(1274) 评论(0) 推荐(0)
摘要: Problem Description输入一个十进制数N,将它转换成R进制数输出。Input输入数据包含多个测试实例,每个测试实例包含两个整数N(32位整数)和R(210)。Output为每个测试实例输出转换后的数,每个输出占一行。如果R大于10,则对应的数字规则参考16进制(比如,10用A表示,等... 阅读全文
posted @ 2015-07-05 08:20 Vmetrio 阅读(275) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 char *fun(char *s,char c) 5 { 6 char *p=s; //用指针p指向字符串s的首地址 7 char *pp=p; //pp指向字符串p的首地址 8 ... 阅读全文
posted @ 2015-07-03 20:45 Vmetrio 阅读(1164) 评论(0) 推荐(0)
摘要: 1 int tolower(int c) 这个函数转换大写字母为小写 2 int toupper(int c) 这个函数转换小写字母为大写 阅读全文
posted @ 2015-07-02 17:21 Vmetrio 阅读(164) 评论(0) 推荐(0)
摘要: 在图形输出窗口中动态绘制四叶草。 1 #include 2 #include 3 #include 4 #define PI 3.1415926535 5 void main(void) 6 { 7 initgraph(640,480); 8 setcolor(GREEN); ... 阅读全文
posted @ 2015-07-02 16:16 Vmetrio 阅读(356) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-06-20 17:42 Vmetrio 阅读(0) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-06-20 17:39 Vmetrio 阅读(172) 评论(0) 推荐(0)
摘要: 来自贴吧的一片文章!首先,为什么要买机械键盘。也许很多人认为机械键盘的价格昂贵,动辄数百元甚至上千元,可以抵过十数把薄膜键盘的价格让很多人觉得这是一种奢侈品,那么,为什么不买一些较高级的薄膜键盘而非要弄那么一个昂贵的东西呢,那么就要解释一下机械键盘的若干优点了不过在说优点之前,先介绍机械键盘的两个致... 阅读全文
posted @ 2015-06-15 16:14 Vmetrio 阅读(1620) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页