
各种比赛
文章平均质量分 67
七月初七小柠七
人生在世,事业为重。
一息尚存,绝不松劲!
展开
-
Theatre Square
Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granit原创 2017-11-12 22:53:21 · 349 阅读 · 0 评论 -
凯撒密码
在人类历史上,对信息保护的需求与对信息本身的需求一样久远。第一个用于加密和解密文本的编码方式是凯撒密码。凯撒密码约定的规则是,源文本中每个英文字母都被英文字母表中该字母后第三个位置的字母替换。例如,A->D, B->E, X->A, z->c。所有其他的符号都保持不变。现在请你写一个程序将加密后的文本解密。题目中大小写英文字母表分开,各自形成一个循环表。 Input 本题有多组输入数据,每组数原创 2017-11-12 23:02:39 · 1772 阅读 · 0 评论 -
Trip For Meal
Winnie-the-Pooh likes honey very much! That is why he decided to visit his friends. Winnie has got three best friends: Rabbit, Owl and Eeyore, each of them lives in his own house. There are winding pa原创 2017-11-12 23:46:33 · 309 阅读 · 0 评论 -
赋值问题
在很多程序设计语言中,忘记给变量赋初值的错误常令人头疼。请编程求出含N(0≤N≤100)行的程序段运行以后有哪些变量中有确定的值。 在下面的问题中,最开始仅有变量a中有确定的值。变量为单个小写字母,每行恰好有三个字符,中间一个是赋值运算符'='。 Input 输入有多组数据,每组数据的第一行有一个整数N,表示程序段的行数。以下N行,每行3个字符,为一条语句。最后一组数据N=-1表原创 2017-11-13 17:04:31 · 1233 阅读 · 1 评论 -
Multiplication Game
5121: Multiplication Game时间限制: 5 Sec 内存限制: 128 MB提交: 165 解决: 35[提交][状态][讨论版][命题人:admin]题目描述Alice and Bob are in their class doing drills on multiplication and division. They quickly get bored and in...原创 2018-04-25 11:49:18 · 215 阅读 · 0 评论