当前位置:网站首页>Stew in disorder

Stew in disorder

2022-07-04 15:35:00 Zaltana

Enter a positive integer , Output its decimal form 、 Octal form 、 Hexadecimal form ( A lowercase letter )、 Unsigned decimal form , The blank space to separate .
Format
Input format : Enter integer , The blank space to separate .
Output format : Output integer , The blank space to separate .
Examples
Input : 33
Output :33  41  21  33

#include<bits/stdc++.h> 

using namespace std;

int main( )
{
    int n;
scanf("%d" ,&n);
printf("%d %o %x %u",n,n,n,n);

    return 0;
}


 

原网站

版权声明
本文为[Zaltana]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041331525380.html