题解 1892: 蓝桥杯算法提高VIP-P0102

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

蓝桥杯算法提高VIP-P0102

摘要:解题思路:无注意事项:无参考代码:s = input()print('Hex: '+'0x'+s)print('Decimal:',end=' ……

蓝桥杯算法提高VIP-P0102

```c#include#includeintDec(char*str);intmain(){charstr[4]={0};//存放输入的三个字符gets(str);intdec=Dec(str);//printf("%Hex:%#x\nDecimal:%d\nOctal:%04o\n",