c
chong2230
本科学历,毕业于湖南人文科技学院,计算机科学与技术专业
展开
-
A+B Problem
eg:Input:21 2112233445566778899 998877665544332211Output:Case 1:1 + 2 = 3Case 2:112233445566778899 + 998877665544332211 = 1111111111111111110code:#include #include原创 2011-12-05 23:58:28 · 392 阅读 · 0 评论 -
Max Sum
Problem Description:Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5原创 2011-12-12 20:58:54 · 295 阅读 · 0 评论 -
Let the Balloon Rise 选出最受欢迎的色彩
/*输入的第一个数为投票人数,输入0结束。然后进行投票,选出最受欢迎的色彩。sample input5greenredblueredred3pinkorangepink0sample outputredpink*/code:#include#includetypedef struct chars {ch原创 2012-06-25 19:08:54 · 761 阅读 · 0 评论 -
win7下 不支持DOS全屏 This system does not support fullscreen mode
转自http://www.cnblogs.com/pythonschool/archive/2012/10/18/2729267.html写在前面的话: 表弟想学写代码,推荐c语言,搭建环境时,推荐了Turbo c 和 visual c++ 6.0,自己安装了visual studio 2008,感觉过于庞大,还是选择最原始Tc,能用就行,安装后运行时遇到了“This syste转载 2015-01-06 11:38:50 · 7851 阅读 · 0 评论