Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
36843 王旭阳 输出字符 C++ Accepted 1 MS 272 KB 233 2022-08-11 19:35:09

Tests(1/1):


Code:

#include<iostream> #include<stdio.h> using namespace std; char a1(int b1){ return char(b1+48); } int main(){ int a,b,c,d; scanf("%1d%1d%1d%1d",&a,&b,&c,&d); printf("%c %c %c %c\n",a1(a),a1(b),a1(c),a1(d)); return 0; }