//四舍五入
//int main()
//{
// double i = 0;
// scanf("%lf", &i);
// int a = 0;
// if (i >= 0)
// {
// a = (int)(i + 0.5) > (int)(i) ? (int)(i + 1) : (int)(i);
//
// }
// if (i < 0)
// {
//
// a = (int)(i - 0.5) < (int)(i) ? (int)(i - 1) : (int)(i);
//
// }
// printf("%d", a);
// return 0;
//}
//成绩输出
//int main()
//{
// int a1 = 0;
// int a2 = 0;
// int a3 = 0;
// scanf("%d %d %d", &a1, &a2, &a3);
// printf("score1=%d,score2=%d,score3=%d", a1, a2, a3);
// return 0;
//}
//基本信息输出
//描述
//依次输入一个学生的学号,以及3科(C语言,数学,英语)成绩,在屏幕上输出该学生的学号,3科成绩(注:输出成绩时需进行四舍五入且保留2位小数)。
//
//数据范围:学号满足 1≤n≤20000000 1 \le n \le 20000000 \ 1≤n≤20000000 ,各科成绩使用百分制,且不可能出现负数
//输入描述:
//学号以及3科成绩,学号和成绩之间用英文分号隔开,成绩之间用英文逗号隔开。
//输出描述:
//学号,3科成绩,输出格式详见输出样例。
//int main()
//{
// long no = 0;
// float a, b, c;
// scanf("%d;%f,%f,%f", &no, &a, &b, &c);
// a = (int)(a * 100 + 0.5) / 100.0;
// b = (int)(b * 100 + 0.5) / 100.0;
// c = (int)(c * 100 + 0.5) / 100.0;
// printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", no, a, b, c );
// return 0;
//}
//
出生日期输入输出
//描述
//输入一个人的出生日期(包括年月日),将该生日中的年、月、日分别输出。
//
//数据范围:年份满足 1990≤y≤2015 1990 \le y \le 2015 \ 1990≤y≤2015 ,月份满足 1≤m≤12 1 \le m \le 12 \ 1≤m≤12 ,日满足 1≤d≤30 1 \le d \le 30 \ 1≤d≤30
//输入描述:
//输入只有一行,出生日期,包括年月日,年月日之间的数字没有分隔符。
//输出描述:
//三行,第一行为出生年份,第二行为出生月份,第三行为出生日期。输出时如果月份或天数为1位数,需要在1位数前面补0。
//int main()
//{
// int birth = 0;
// scanf("%d", &birth);
// int year = birth / 10000;
// int date = birth % 100;
// int month = birth % 10000 / 100;
// printf("year=%d\n", year);
// printf("month=%02d\n", month);
// printf("date=%02d\n", date);
// return 0;
//}