简单的数组输入与判断循环分支嵌套 摘要:解题思路:注意事项:参考代码:# define _CRT_SECURE_NO_WARNINGS 1# include<stdio.h>int main() { i…… 题解列表 2026年07月22日 1 点赞 0 评论 16 浏览 评分:0.0
最复杂的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long f1(int a){ long y; y=(long)a*a; return y;}long f2(int …… 题解列表 2024年11月22日 0 点赞 0 评论 351 浏览 评分:4.0
平方和和立方和 摘要: #include int main() { int m,n; while((scanf("%d%d",&m,&n))!=EOF) …… 题解列表 2024年03月21日 0 点赞 0 评论 539 浏览 评分:9.9
1211基础解法(Python) 摘要:注意事项:用import sys的情况下进行多行输入第一个测试点有问题,但是结果没有错误,所以这两种方式有什么区别呢?参考代码:while True: try: a,b = map…… 题解列表 2023年05月29日 1 点赞 0 评论 534 浏览 评分:10.0
编写题解 1211: 平方和与立方和 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main(void) { long long a, b; long lo…… 题解列表 2023年01月09日 0 点赞 0 评论 655 浏览 评分:0.0
1211: 平方和与立方和 摘要:```cpp #include using namespace std; int main() { int m,n,a,b; while(cin>>m>>n) {…… 题解列表 2023年01月08日 0 点赞 0 评论 479 浏览 评分:9.9
可ACAC1111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { int sum1=0,s…… 题解列表 2022年08月09日 0 点赞 0 评论 335 浏览 评分:0.0
平方和与立方和C++超简单 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m,x,y; while(scanf("%d%d…… 题解列表 2022年05月10日 0 点赞 0 评论 1169 浏览 评分:7.3
平方和与立方和题解 c++ 摘要:解题思路: 这题不难,主要思路是判断奇偶,然后分别求各个奇数的立方和以及各个偶数的平方和并输出 注意事项: 在新一轮循环前要对m,n清零!!!不然后几组的数据是在前几组数据上进行相加 参考代码…… 题解列表 2022年04月25日 0 点赞 0 评论 746 浏览 评分:9.0
编写题解 1211: 平方和与立方和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<math.h>using namespace std;void func(int m…… 题解列表 2022年03月31日 0 点赞 0 评论 545 浏览 评分:0.0