题解 1680: 数据结构-八进制数

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

筛选

数据结构-八进制数[JAVA题解]

importjava.util.Scanner;importjava.util.Stack;publicclassMain{publicstaticvoidmain(String[]args){intnum;//接收输入的数字intyu,shang;//定义余数、商Scannersc=newScann

用栈实现八进制转换

```c#include#includetypedefstructStack{intdata[100];inttop;}*Stack,stack;//入栈voidPush(StackS,intn){S->top=0;for(inti=n;i>0;i/=8){S->data[S->top]=i%8;S-

C语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct linkednode{    int data;    struct ……

数据结构-八进制数

摘要:解题思路:注意事项:参考代码:while True:    try:        n = int(input())        oct_num = oct(n)        print(oct_……

数据结构改进制

摘要:解题思路:注意事项:注意输入x的方式参考代码:#include<stdio.h>#include<iostream>#include<string.h>#include<stack>using nam……

十进制转八进制数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct{    int data[100];    int top;}Lnod……