'%'字符的输入输出

'%'字符的输入输出
Time Limit: 1000 ms Memory Limit: 65536 KiB
Submit Statistic
Problem Description

输入三个用 % 分割的正整数 a b c 代表月,日,年,
要求按照输入样式原样输出。
Input

三个int范围内的正整数,中间用 % 分割。
Output

按题目描述原样输出。
Sample Input

9%17%2018
Sample Output

9%17%2018
Hint

Source

行走的二叉树

#include<stdio.h>
#include<stdlib.h>
int main()
{
   int a,b,c;
   scanf("%d%%%d%%%d",&a,&b,&c);
   printf("%d%%%d%%%d\n",a,b,c);
    return 0;
}

猜你喜欢

转载自blog.csdn.net/qq_41938269/article/details/83150785
今日推荐