主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
专业课程
讨论区
兑换中心
登录
注册
上岸
搜索
全 部
择校分析
笔经面经
学习交流
我要提问
站内公告
调剂专题
精彩爆料
解题报告
C语言 1100
编程计算1+3+5…+99的值
韩诺初
发表于 1小时前
回复 9+
|
赞 0
|
浏览 31.5k
i<=99 i+=2
P1016
字符分类 题解:
20082123
发表于 2小时前
回复 0
|
赞 0
|
浏览 6
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; &nbs...
P1013
判断素数 题解:
20082123
发表于 2小时前
回复 0
|
赞 0
|
浏览 21
#include<bits/stdc++.h> using namespace std; bool sx(int a){ if(a<2)//边界情况 re...
P1012
字符移动 题解:
20082123
发表于 3小时前
回复 0
|
赞 0
|
浏览 14
#include<bits/stdc++.h> using namespace std; int main(){ string s; int j=0; cin...
P1052
学生成绩管理 题解:上机前最后一个题解
孙某人
发表于 3小时前
回复 0
|
赞 0
|
浏览 22
#include <iostream> #include <string.h> #include <math.h> #include <algorithm> using namespace std; typedef struct s...
P1022
删除最大最小数 题解:c++
huanghu
发表于 16天前
在3小时前回复
回复 3
|
赞 0
|
浏览 162
#include<stdio.h> #include<iostream> using namespace std; int main(){ int n; cin>>n; int arr[n]...
P1307
组队刷题 题解:为什么不对 我这个struct就多定义了一个 就只能ac20%
08193003
发表于 6天前
在3小时前回复
回复 1
|
赞 0
|
浏览 58
#include<bits/stdc++.h> using namespace std; struct bankuai{ double a; double b; double c=b/a; }aa[1005]; bool cmp(bankuai a1,...
P1798
数组排序 题解:
FAFAFAFA
发表于 4小时前
回复 0
|
赞 0
|
浏览 40
#include<bits/stdc++.h> using namespace std; int main(){ int a[1000]; char s; i...
P1022
删除最大最小数 题解:
Amberqwe
发表于 4天前
在4小时前回复
回复 2
|
赞 0
|
浏览 173
为什么一直是百分之75? #include<stdio.h> int pai(int a[],int n) { int temp; for(int i=0; i<n; ...
P1563
迷宫 题解 为什么显示runtime error 求教
今夕何夕12211
发表于 4小时前
回复 0
|
赞 0
|
浏览 16
#include <stdio.h> #include <stdlib.h> #include <string.h> struct node { int x; int y; ...
P1474
大整数加法 题解:C语言只有50%
williams
发表于 4小时前
回复 0
|
赞 0
|
浏览 34
#include <stdio.h> #include <stdbool.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <...
P1025
链表合并 题解:c实现
williams
发表于 2天前
在7小时前回复
回复 2
|
赞 0
|
浏览 134
#include <stdio.h> #include <stdbool.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <...
P1904
重复数字 题解:超详细c++
damowanghwj
发表于 8小时前
回复 0
|
赞 0
|
浏览 47
#include<bits/stdc++.h> using namespace std; const int N = 1e5 + 5;//不知道具体多少数以及数的大小 就尽量设置大一些 int a[N]; int flag[N]; string str; int...
我要提问
1381 只有25%
DestinyCares+++
发表于 22小时前
在8小时前回复
回复 2
|
赞 0
|
浏览 33
#include<iostream> #include<cstring> #include<string> #include<queue> using namespace std; struct node{  ...
P1051
日期计算 题解:只有50% 请问有什么问题吗
13729922474
发表于 8小时前
回复 0
|
赞 0
|
浏览 19
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <stdio.h> #include <string.h> #include <string> #include ...
P1020
最长连续因子 题解:
熹微
发表于 8小时前
回复 0
|
赞 0
|
浏览 33
c语言暴力求解与时间复杂度为O(n)的求解 暴力求解 void Fac(int a[],int *n){ int i = *n,j=0,temp; while (i>1){ if( *n % i == 0 ){ a[...
P1422
进制转换3 题解:思想:m->10->n 只过80% 求大佬解答
中国人民万岁
发表于 19小时前
在9小时前回复
回复 1
|
赞 0
|
浏览 47
#include <bits/stdc++.h> using namespace std; #define ll long long int val(char x) { if (x >= '0' &&a...
我要提问
软工求解
我爱陈少熙
VIP
发表于 19小时前
在9小时前回复
回复 1
|
赞 0
|
浏览 18
数据流图中不是没有控制流吗
P1015
单链表 题解:小伙伴们可以帮我检查一下哪里有问题吗?0%
为欢几何
发表于 4天前
在10小时前回复
回复 2
|
赞 0
|
浏览 108
#include<bits/stdc++.h> using namespace std; struct Node { int Element; // 节点中的元素为整数类型 struct Node * Next; //...
P1025
链表合并 题解:0%,不知道哪里有问题,谢谢小伙伴们帮我看看
为欢几何
发表于 4天前
在10小时前回复
回复 2
|
赞 0
|
浏览 97
#include<bits/stdc++.h> using namespace std; struct node{ int n; struct node *next; }; //创建链表 struct node*...
P1422
进制转换3 题解:思想:m->10->n
中国人民万岁
发表于 19小时前
回复 0
|
赞 0
|
浏览 32
#include <bits/stdc++.h> using namespace std; #define ll long long int val(char x) { if (x >= '0' &&a...
P1855
最大公共子串 题解:高分篇 dp 多了一个记录最长公共子串条件
damowanghwj
发表于 19小时前
回复 0
|
赞 0
|
浏览 14
#include<bits/stdc++.h> using namespace std; int dp[105][105]; int main(){ string s1,s2; cin >> s1 >> s2; i...
P1196
单词替换 题解:自用笔记(C语言)
zx142407789
发表于 19小时前
回复 0
|
赞 0
|
浏览 26
#include<stdio.h> #include<string.h> int main() { char str[20][100];//采用二维数组,以一个字符串为一个数据元素,看成字符串数组 ...
P1163
求最大最小数 题解:
Amberqwe
发表于 21小时前
在20小时前回复
回复 1
|
赞 0
|
浏览 28
百分之80,怎么解决啊 #include <stdio.h> int main() { int a, b[1000000]; while (scanf("%d",...
P1025
链表合并 题解:
熹微
发表于 20小时前
回复 0
|
赞 0
|
浏览 43
每日一题 c语言 #include<stdio.h> typedef struct Node{ int num; struct Node *Next; }node; void Meg(node ...
P1179
密码翻译 题解:
Amberqwe
发表于 21小时前
在20小时前回复
回复 1
|
赞 0
|
浏览 31
其他软件正确,这里是错误 #include <stdio.h> #include <string.h> int main() { char s[80]; while(gets(s)...
P1329
统计同成绩学生人数 题解:
Amberqwe
发表于 22小时前
在20小时前回复
回复 1
|
赞 0
|
浏览 40
为啥只有75% #include <stdio.h> int main() { int n, a[1000], grade; int cnt = 0;  ...
P1015
单链表 题解:
熹微
发表于 21小时前
回复 0
|
赞 0
|
浏览 30
C语言 边输入一个数据边进行链表插入 了解一下 #include<stdio.h> typedef struct Node{ int num; struct Node *Next; }node; i...
P1007
整除 题解:C++
kar
发表于 22小时前
回复 0
|
赞 0
|
浏览 21
#include <iostream> using namespace std; int main() { int sum = 0; for (int i = 100; i <=1000; i...
P1020
最长连续因子 题解:求大神解答一下,通过率只有80%,不知道哪里出问题了
18237466773
发表于 2天前
在22小时前回复
回复 2
|
赞 0
|
浏览 77
#include<bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n){  ...
P5129
简单的背包问题 题解:
望雨天
发表于 1天前
回复 0
|
赞 0
|
浏览 22
其实就是最基础的0,1背包问题的变体 这里只需要在基础的0,1背包问题中,将每个物体的重量和体积设置为相同 那么,能够装入的最大重量一定是小于等于体积的 如果能够装入的最大重量与背包体积相等,那么说明有解,否则无解 #include <...
1
2
3
...
292
我要提问
近期热门
1
N诺成就值出炉,帮你一眼识别大神
2
机试如何才能快速提高?
3
[置顶]2023计算机考研择校分析【23考研必读】
4
1377旋转矩阵
5
ip地址(C)
6
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
7
简单易懂
8
C++递归解法,有注释
9
1017 幂次方 快速幂模板
10
计算机考研复试笔记——操作系统篇