c++超简便找规律写法 摘要:解题思路:观察给的例子,当k = 3, w = 7的时候,因为将7位2进制数三位三位的分割最多分割成三块,所以最多只有三位数的情况,而这个数最小是两位,所以只有两位数和三位数两种情况,由此可以知道,对…… 题解列表 2022年03月05日 0 点赞 0 评论 1513 浏览 评分:9.9
C语言考试练习题_保留字母 摘要:```cpp #include using namespace std; int main() { char a[100]; gets(a); in…… 题解列表 2022年03月05日 0 点赞 0 评论 371 浏览 评分:0.0
C语言考试练习题_一元二次方程 摘要:```cpp #include using namespace std; int main() { double a,b,c,s,x1,x2; cin>>a>>b>>…… 题解列表 2022年03月05日 0 点赞 0 评论 254 浏览 评分:0.0
A+B for Input-Output Practice 摘要:就相当于直接在题A+B for Input-Output Practice (V)的输出中加一个endl就可以了。 ```cpp #include using namespace std; …… 题解列表 2022年03月05日 0 点赞 0 评论 264 浏览 评分:0.0
A+B for Input-Output Practice (VII) 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b){ cout…… 题解列表 2022年03月05日 0 点赞 0 评论 378 浏览 评分:0.0
A+B for Input-Output Practice (VI) 摘要:```cpp #include using namespace std; int main() { int a[100],b,n; while(cin>>n){ b=0;…… 题解列表 2022年03月05日 0 点赞 0 评论 335 浏览 评分:0.0
A+B for Input-Output Practice (V) 摘要:```cpp #include using namespace std; int main() { int a[100],b,n,w; cin>>w ; //输入需求的组数…… 题解列表 2022年03月05日 0 点赞 0 评论 299 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:```cpp #include using namespace std; int main() { int a[100],b,n,sum; while(cin>>n&&n!=0){ …… 题解列表 2022年03月05日 0 点赞 0 评论 304 浏览 评分:0.0
字符串输入输出函数-题解 摘要:def GetReal(inpn): print(inpn) def GetString(inps): print(inps) def main(): inpn = …… 题解列表 2022年03月05日 0 点赞 0 评论 584 浏览 评分:0.0
A+B for Input-Output Practice (III 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b){ if(a==0&…… 题解列表 2022年03月05日 0 点赞 0 评论 303 浏览 评分:0.0