1023 Have Fun with Numbers
发表于
1 | #include <bits/stdc++.h> |
1020 Tree Traversals
发表于
定义结构体变量时,关键字struct可以省略吗?
在C++中可以bai,但在duc中不行zhi。
1 | typedef struct LNode{ |
1 | #include <bits/stdc++.h> |
1 | #include <iostream> |
1019 General Palindromic Number
发表于
备注:arr数组里是从低位到高位的数字。所以输出得从后到前。十进制转b进制也是取余。
1 | #include <bits/stdc++.h> |