Sicily
w2016Jessica
好好打码天天向上
展开
-
1021. Couples
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionN couples are standing in a circle, numbered consecutively clockwise from 1 to 2N. Husband and wife do not always stand together.原创 2016-12-14 20:34:34 · 382 阅读 · 0 评论 -
1006. Team Rankings
DescriptionIt's preseason and the local newspaper wants to publish a preseason ranking of the teams in the local amateur basketball league. The teams are the Ants, the Buckets, the Cats, the Dribb原创 2016-12-16 20:44:45 · 504 阅读 · 0 评论 -
putchar()与getchar()
putchar函数的作用:向终端输出一个字符。(1)putchar函数只能用于单个字符的输出,且一次只能输出一个字符。#includeusing namespace std;int main(){char ch;ch = getchar();//getchar()是用来读入键盘输入的字符 putchar(ch);//putchar()是输原创 2016-12-17 21:55:38 · 634 阅读 · 0 评论