自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 UVa12100 - Printer Queue

熟悉STL中队列的使用。

2014-08-27 11:12:31 474

原创 UVa1595 - Symmetry

基本思路:先根据一

2014-08-27 11:04:51 689

原创 UVa10391 - Compound Words

基本思路:把每个单词拆开成两个

2014-08-24 11:12:35 663

原创 UVa10763 - Foreign Exchange

1、pair的使用 2、vector的使用 3、

2014-08-23 16:39:19 423

原创 UVa10935 - Throwing cards away I

1、队列的简单使用。 //#define LOCAL #include #include #include #include #include using namespace std; queue s,s0; int main(){ #ifdef LOCAL freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #e

2014-08-23 15:32:01 455

原创 UVa1594 - Ducci Sequence

1、array的简单使用,可以

2014-08-23 14:49:06 605

原创 Uva1593 - Alignment of Code(getline、istringstream用法)

1、学会getline的一种用法。 2、学会

2014-08-21 09:23:58 903

原创 Uva1589 - Xiangqi

//#define LOCAL #include #include #include #include using namespace std; int N, bgx, bgy, gx, gy; char map[15][15]; char map1[15][15]; struct C{ char ch; int x, y; }C1,C2; struct H { char ch; int

2014-08-10 10:32:03 966

原创 Uva489 - Hangman Judge

自顶向下逐步求精法,比

2014-08-02 22:54:45 440

原创 Uva1339 - Ancient Cipher

#include #include #include #include char s[105], s2[105]; int t[26], t2[26]; void mycount(int t[], char s[], char alp[]){ //标记是s[]中各字母出现次数 for (int i = 0; i <strlen(s); i++){ for (int

2014-08-02 21:16:41 567

原创 Uva202 - Repeating Decimals

#include #include int fraction[4000]; int mod[4000]; int main(){ int a, b; int q,p,len; int d = 0; while (scanf("%d%d", &a, &b) != EOF){ mod[0] = a; fraction[0] = a / b; for (q = 1;; q++){

2014-08-02 16:20:41 1461

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除