自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 UVa 492 - Pig-Latin

题目:字符串转化,如果是辅音开头把单词的开头放到最后,然后后加上ay后缀即可。 分析:简单题。直接转化即可,记录每个单词的开始和jieshu

2013-11-03 17:40:33 2980 3

原创 UVa 541 - Error Correction

题目:在一个n x n的0和1组成的矩阵,问是否每行每列之和为偶数,如果不是是否通过改变一个元素值后成立。 分析:简单题。直接统计所有的行和列的偶数情况:             1.都是偶数则成立;             2.如果有1行和1列是奇数则改变交点的值即可;             3.其他情况,均为不可能转换。 注意:数组开大一点。 #include #inclu

2013-11-02 15:01:11 1293

原创 UVa 10062 - Tell me the frequencies!

题目:统计ASCII出现的次数,按升序输出,如果个数相同输出ASCII值大的。 分析:简单题。直接统计,排序输出即可。 注意:使用gets或者getline读入,空格也在统计范围内。 #include #include #include #include #include using namespace std; char str[1005]; int sum[129];

2013-11-01 16:56:03 3080

原创 UVa 713 - Adding Reversed Numbers

题目:计算两个数的翻转的和的翻转。 分析:简单题、大整数。利用数组模拟即可。 注意:清空数组。 #include #include #include using namespace std; char a[205],b[205]; int c[205]; int value( char c ) { if ( c >= '0' && c <= '9' ) return

2013-11-01 02:04:14 1127

SOFA: A Multi-Model Framework for Interactive Physical Simulation

HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

2018-06-24

空空如也

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

TA关注的人

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