主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
专业课程
讨论区
兑换中心
登录
注册
上岸
搜索
推 荐
择校分析
笔经面经
学习交流
我要提问
站内公告
调剂专题
精彩爆料
解题报告
P1003
翻转数的和
myhy001
VIP
回复 0
|
赞 0
|
浏览 9.1k
#include<stdio.h> int main() { int m,n; while(scanf("%d%d",&m,&n)!=EOF) &...
P1012
为啥输出时for循环中间i<t改成i<c.length就没输出了
chenziyi
VIP
回复 4
|
赞 0
|
浏览 8.7k
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string> using ...
P1011
75%正确率
chenziyi
VIP
回复 1
|
赞 0
|
浏览 10.8k
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string>...
P1010
我的方法考试就凉了 无比菜的方法
chenziyi
VIP
回复 0
|
赞 0
|
浏览 10.0k
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string> using ...
P1009
试了下C语言随机数的方法 但这道题没必要 大致代码如下
chenziyi
VIP
回复 4
|
赞 1
|
浏览 12.5k
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h&g...
P1007
有点奇怪 //if(k++%10==0)printf("\n");写这个就会显
chenziyi
VIP
回复 2
|
赞 0
|
浏览 12.3k
#include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string> using ...
P1036
三个数的最大值 <------转换的思想
jerry3128
回复 1
|
赞 1
|
浏览 8.5k
这又是一道看似与图论无关的题,但我们仔细一想,“选一个”,是限制,“最大”,是要求,我们便很容易想到最大费用最大流,首先源点向一个节点连上一条容量为1,花费为0的边,表示限制。接着便是此节点联想汇点,容量为一,花费为输入的边,表示选择。接下来就是...
P1024
二元组
快乐编程
回复 0
|
赞 0
|
浏览 8.3k
#include<stdio.h> int main() { int n,a[30],b[30],sum; int i,j,t,k=0,swap; scanf("%d"...
P1181
颗粒剂j
myhy001
VIP
回复 0
|
赞 0
|
浏览 6.3k
#include<stdio.h> int main() { int n; while(scanf("%d",&n)!=EOF) {  ...
P1378
字符串匹配C++版
lyhhap
回复 0
|
赞 0
|
浏览 11.6k
```cpp #include <iostream> #include <string> #include <vector> using namespace std; //转全部小写 void lowCase(string& st...
P1161
重建二叉树成功,为啥还是通过0?
lyhhap
回复 0
|
赞 0
|
浏览 10.2k
#include <iostream> #include <string> #include <vector> using namespace std; struct ListNode{ char val;...
P1174
阶乘2
myhy001
VIP
回复 0
|
赞 0
|
浏览 9.8k
#include<stdio.h> int main() { int n,i,j,temp,carry,dight; while(scanf("%d",&n)!=EOF) &...
P1042
TA zai 跟我开玩笑 没ch=a[i]就是不给通过
myhy001
VIP
回复 0
|
赞 1
|
浏览 9.4k
#include<stdio.h> int main() { char ch,a[100]; int zimu=0,shuzi=0,kongge=0,qita=0,i=0; gets(a)...
P1015
不太符合题型要求哦
南山不落梅
回复 0
|
赞 0
|
浏览 8.6k
#include<stdio.h> #include<malloc.h> #define LN sizeof(struct Note) struct Note{ int qaq; st...
P1520
类似筛选法,考虑了题目中的按输入的字母顺序输出结果,系统的问题所以要用两个get
王政霖
回复 0
|
赞 0
|
浏览 7.0k
#include <stdio.h> int main(){ int n,i,j,count;//count计次 char A,AA; scanf("...
P1039
里叙述
myhy001
VIP
回复 0
|
赞 0
|
浏览 8.9k
#include<stdio.h> int main() { int a[5]={0},n,i,k; scanf("%d",&n); for(i=0;i<...
P1043
Sn
myhy001
VIP
回复 0
|
赞 0
|
浏览 10.0k
#include<stdio.h> int main() { int s[10],i,n,a,carry=0,temp; scanf("%d%d",&a,&n); &...
P1520
遍历法
Freeze
回复 0
|
赞 0
|
浏览 7.4k
#include<stdio.h> int main() { int n,i,k,local=0,sign=0; char c[1]; scanf("%d",&...
P1475
高精度乘法(c++) <----()FFT
jerry3128
回复 1
|
赞 1
|
浏览 8.9k
既然是第一篇题解,那一定就要足够的炫酷。。。 FFT(Fast Fourier Transformation),中文名快速傅里叶变换,是离散傅氏变换的快速算法,它是根据离散傅氏变换的奇、偶、虚、实等特性,对离散傅立叶变换的算法进行改进获得的。 朴素高精度乘法的时间为O(n^2),但FF...
P1001
000000~111111
myhy001
VIP
回复 0
|
赞 1
|
浏览 8.7k
#include<stdio.h> int main() { void p(int i); int i; for(i=0;i<=63;i++) { &...
P1520
请问这个为什么不对呢,找不出来啊
创世的背影
回复 0
|
赞 0
|
浏览 7.8k
#include <stdio.h> #include <string.h> void main() { int n,m,i,j,k,l,b[26],d; char a[1000],c[1000]; &...
P1520
题解
sxr123
回复 1
|
赞 0
|
浏览 6.9k
#include<stdio.h> int main() { char s[1000]; &n...
P1519
DreamJudge 1519题解
1722000008
回复 0
|
赞 0
|
浏览 7.7k
#include<stdio.h> #include<malloc.h> int main() { int m, n, index,temp; scanf("%d %d&quo...
P1520
字符游戏
recom
回复 1
|
赞 0
|
浏览 7.9k
开一个标记数组,依次遍历,如果用过了某个字符,就将某个字符标记 贴个代码 #include<stdio.h> #include<string.h> int vis[10000];//建立标记数组 int main() { ...
P1025
链表合并(还没学会用链表,先用for和数组做了)
创世的背影
回复 0
|
赞 0
|
浏览 8.9k
#include<stdio.h> int main() { int a[200],b[200],c[300],i,j,n,m,l; scanf("%d",&n); &nbs...
P1011
感觉不能再简了
1246200639
回复 1
|
赞 2
|
浏览 10.5k
#include<stdio.h> int main() { int month ,day,sum=0,i; int mon[13]={0,31,29,31,30,31,30,31,31,30,31...
P1024
二元组整数(注意:输入的如果是两个相同的整数,在输出里也要有所表现,比如(3,3
创世的背影
回复 1
|
赞 0
|
浏览 9.3k
#include<stdio.h> #include<string.h> int main() { int n,m,a[31],b[31],i,j; scanf("%d",&n...
P1027
删除字符串2(多加几个或就好)
创世的背影
回复 0
|
赞 0
|
浏览 8.8k
#include<stdio.h> #include<string.h> int main() { char a[100],b[100]; int n,i,j; gets(a...
P1026
删除字符串(跟前面同学的有点不一样)
创世的背影
回复 0
|
赞 0
|
浏览 9.7k
#include<stdio.h> #include<string.h> int main() { char a[100],b[100]; int n,i,j; gets(a...
P1022
删除最大最小数
创世的背影
回复 0
|
赞 0
|
浏览 9.5k
#include<stdio.h> int main() { int n,m,a[81],b[81],i,j,x,y,max,min; scanf("%d",&n); &nb...
1
...
123
124
125
126
我要提问
近期热门
1
N诺成就值出炉,帮你一眼识别大神
2
机试如何才能快速提高?
3
[置顶]计算机考研择校分析【25考研必读】
4
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
5
1377旋转矩阵
6
ip地址(C)
7
简单易懂
8
C++递归解法,有注释
9
1017 幂次方 快速幂模板
10
计算机考研复试笔记——操作系统篇