C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:#include <stdio.h>#include <string.h>int main(){ int x,i; int a[4]; for(i=1000;i<9999…… 题解列表 2025年02月11日 1 点赞 0 评论 35 浏览 评分:10.0
无敌很寂寞啊 摘要:#include<stdio.h> int main(void) { int i; int a, b; for(i = 1000; i <= 10000; i++) …… 题解列表 2024年12月29日 0 点赞 0 评论 77 浏览 评分:0.0
无聊的星期五 摘要:解题思路:注意事项:#include <stdio.h> #include<stdlib.h> int main() { for (int i = 1000; i < 9999;i++) {…… 题解列表 2024年12月27日 0 点赞 0 评论 61 浏览 评分:0.0
简单的写完就行了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int i; for(i = 1000;i<=9999;i++) { …… 题解列表 2024年12月08日 0 点赞 0 评论 111 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a=0,b=0,c=0,d=0; for(i=1000;…… 题解列表 2024年11月17日 0 点赞 0 评论 95 浏览 评分:0.0
1136求具有abcd=(ab+cd)2性质的四位数(直接输出那三个数) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ for (int i = 1000; i…… 题解列表 2024年07月07日 0 点赞 0 评论 79 浏览 评分:0.0
1136题的题解 摘要:[题目传送门](https://www.dotcpp.com/oj/problem1136.html "题目传送门") ### **思路** 题目中说四位数前两位的数和后两位的数加起来的平方等于这…… 题解列表 2024年01月26日 0 点赞 0 评论 135 浏览 评分:9.9
编写题解 1136: C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路:注意事项:参考代码:for i in range(1000, 10000): # 生成一个序列,也就是所有的四位数 l = i // 100 # 将这个数的左边两位拿出 …… 题解列表 2023年12月04日 0 点赞 0 评论 44 浏览 评分:0.0
1136: C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int hou(int i){ int s; s=i%100; return s;}int qian(int i){ int s,h…… 题解列表 2023年10月28日 0 点赞 0 评论 124 浏览 评分:9.9