首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
C语言 1044
程序结果
wuliuqiba
min=-34批改结果:学生答案正确。 理由:题目要求找出变量a、b、c中的最小值,程序逻辑正确,运行结果应为min=-34。学生答案“min=-34”与参考答案“min=-34”在数值和含义上完全一致,虽然等号书写样式略有差异(学生使用了全角等号“=”,而参考答案使用半角“=”),但这不影...
C语言 1057
程序运行结果
seagull857
10
P1501
括号匹配 题解:
xsw
#include<iostream> #include<stack> using namespace std; int main() { stack<char> s; string str; cin >> str; ...
P1836
最长递减子序列 题解:
yauqq
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> a(n); for (int...
P1251
Primary Arithmetic 题解:
曾不会
while(1): try: num = list(map(int, input().split())) a = num[0] b = num[1] op = 0 count = 0 ...
湖北工业大学
关于公布计算机学院2025年硕士研究生招生考试调剂考生复试名单的通知
考研小帮手
各位考生: 根据教育部相关规定和《湖北工业大学2025年硕士研究生招生复试及录取工作方案》,现将学院调剂考生复试名单予以公布。请考生认真按照学校复试录取工作方案及学院复试录取实施细则相关要求准备复试,未按要求及时参加复试者视为自动放弃复试资格。 附件:湖北工业大...
P1062
杨辉三角形 题解:
曾不会
#include<stdio.h> int main() { int n; while(scanf("%d",&n)) { &n...
P2006
字符串对齐 题解:
ryuki
#include <iostream> #include <vector> #include <string> using namespace std; int main() { //输入 &...
P1130
二分查找的最大次数 题解:
曾不会
#include<bits/stdc++.h> using namespace std; int fun(int n,int pos) { int count=0; int ll=0; &nbs...
P1383
查找第K小数 题解:排序+去重
牧濑
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int n; while(...
P803
Best Cow Fences 题解:二分
快乐小土狗
#include <bits/stdc++.h> using namespace std; int n, L; vector<int> A; // 判断平均值 mid(已 ×1000)是否可行 bool check(int mid) { ...
P1472
2048游戏 题解:
winner748
#include<bits/stdc++.h> using namespace std; int matrix[4][4]; void readMatrix(int m[4][4]){ for(int i = 1; i <= 4; ...
P1014
加密算法 题解:
xsw
#include<iostream> using namespace std; int main() { string s; getline(cin, s); for (int i = 0; i < s.size(); i ++ ) {...
P1081
猴子报数 题解:数组模拟,马+7我要给你生小猴子
西电机试专家
#include <bits/stdc++.h> using namespace std; //思路:利用数组模拟,处理删除类问题可以考虑用其他方法进行,比如标记为删除,从而遍历之时将其跳过 int main(){ &nbs...
P1280
Powerful Calculator 题解:
曾不会
a=int(input()) b=int(input()) print(a+b) print(a-b) print(a*b)
P1718
字符串压缩 题解:
曾不会
#include<stdio.h> #include<string.h> using namespace std; int main() { char s[100]; scanf(&...
P1933
旋转矩阵 - 中南大学 题解:
曾不会
#include<stdio.h> int main() { int n; int f[110][110]; scanf("%d",&am...
P1013
判断素数 题解:
曾不会
#include<stdio.h> #include<math.h> int fun(int x) { for(int i=2;i<=sqrt(x)+1;i++) { &nbs...
P1396
二叉排序树 - 华科 题解:
litery
#include <bits/stdc++.h> using namespace std; struct node{ int val; node* left; node* right; }; void Insert(node* &a...
P1263
数字求和 题解:
曾不会
while(1): try: num=list(map(int,input().split())) k=num[0] count=0 for i in range(1,len(num)): ...
P1430
递归求阶乘 题解:
曾不会
n=int(input()) for i in range(n): k=int(input()) count=1 for j in range(1,k+1): count*=j print(count)
P1717
字符串匹配 - 兰州大学 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ string str1,str2; cin >> str1 >> str2; if(str2.find(str1)!= st...
P1375
素数 题解:c++,for循环十个十个跳,判断完直接输出,不用再遍历一边进行输出
bro
#include <bits/stdc++.h> using namespace std; bool isP(int n){ if(n == 2) return true; if(n == 1) return fa...
P1473
字符棱形 题解:c++,难绷,写的好怪
bro
#include <bits/stdc++.h> using namespace std; int main() { int c ; cin >> c ; int n = 2...
P1209
刷出一道墙 题解:卡cin,cout的输入输出速度
litery
#include <bits/stdc++.h> using namespace std; int wall[200005]={0}; int diff[200005]={0}; int main(){ int b,e; while(scanf("%...
P1501
括号匹配 题解:
mlx
#include<iostream> #include<stack> using namespace std; string str; stack<char> st; bool check() { for(int i=0;i<...
P1163
求最大最小数 题解:
曾不会
while(1): try: n=input() sm=list(map(int,input().split())) m=max(sm) mi=min(sm) print("%d ...
P1823
学生成绩排序 题解:
曾不会
n=int(input()) s=[] for i in range(n): num=list(map(str,input().split())) xuehao=num[0] score1=int(num[1]) score2=int(num[2...
P1254
字符串排序 题解:
mlx
#include<iostream> #include<algorithm> using namespace std; string str; int main() { while(cin>>str) { sort(str...
P1102
素数判定 题解:暴力枚举
牧濑
#include <iostream> #include <algorithm> using namespace std; bool isSS(int x){ if(x==1)return false;//情况1:1不是素数 else if(x...
P1412
大整数排序 题解:
mlx
#include<iostream> #include<algorithm> using namespace std; const int N=110; int n; bool cmp(string a,string b) { if(a....
P1675
机器人走迷宫 题解:dfs
mamba406
采用dfs的题解,用bool型标记是否可以转向 #include<iostream> #include<vector> #include<algorithm> #include<map> using namespace std; ...
P1204
EZ SOLO 题解:
曾不会
#include<stdio.h> int main() { int h1,a1,h2,a2; while(scanf("%d %d %d %d",&h1,&a1...
P1296
括号匹配问题 题解:stack vector
formulaunifyx
#include<bits/stdc++.h> using namespace std; int main(){ string s; while(cin>>s){ &nb...
P5246
有多少个点在直线上 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main() { // 读取点A和点B的坐标 long long xa, ya, xb, yb; cin >> xa >&g...
P1418
最长&最短文本 题解:
曾不会
s=[] try: while(1): ss = input().strip() s.append(ss) except: &n...
P1018
击鼓传花 题解:
奶龙大王
index模拟数组法 #include <stdio.h> #include <string.h> #include<iostream> #include<algorithm> #in...
南京信息工程大学
南京信息工程大学人工智能学院2025年招收攻读硕士学位研究生复试及录取工作细则
考研小帮手
根据教育部关于研究生录取工作中要坚持“按需招生、德智体美劳全面衡量、择优录取、宁缺毋滥”的原则及江苏省教育考试院有关文件精神,为保证我院硕士研究生招生工作的顺利进行,提高招生工作效率和保证生源质量,既维护考生权益,又保证公平、公正、公开。根据《南京信息工程大学2025年...
P1032
变位词 题解:
曾不会
n=int(input()) for ii in range(n): s=list(map(str,input().split())) s1=s[0] s2=s[1] t1...
南京理工大学
2025年各学院硕士研究生复试名单及复试录取工作细则
考研小帮手
南京理工大学2025年硕士研究生复试录取工作办法(点击查看) 复试名单及细则根据各学院工作安排逐步更新中。 序号 学院 考生报到时间 复试名单 ...
P1387
查找 - 北邮 题解:string
kawhileo
#include<bits/stdc++.h> using namespace std; int main(){//动态查找 string s,m; int n; while(...
P1042
字符个数 题解:
曾不会
s=input() count0=0 count1=0 count2=0 count3=0 for i in s: if(i.isalpha()): count0+=1 elif i.isdigit(): count1+=1...
P1360
字符串内排序 题解:
曾不会
while(1): try: m=input() l=len(m) s=[] for i in m: s.append(i) k=sorted(s) ...
P1187
A - B 题解:
曾不会
#include<stdio.h> int main() { int a,b; scanf("%d %d",&a,&b);  ...
P1447
编排字符串 题解:
曾不会
#include<stdio.h> #include<stack> #include<string> using namespace std; int main() { int n;  ...
大连海事大学
大连海事大学关于公布2025年第一志愿硕士研究生招生复试拟录取结果的通知
考研小帮手
各位考生: 按照学校硕士研究生招生复试日程安排,现公布3月24日-26日参加第一志愿复试的考生成绩和拟录取结果,详见附件。后续参加第一志愿复试的工商管理、工业工程与管理、工程管理和公共管理非全日制硕士研究生的复试成绩和拟录取结果另行公布。 特此通知。 附件...
P5260
字符串是否合法 题解:
yauqq
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; string str; for(int i=0;i<n;i++){ cin &g...
P1135
矩阵求和 题解:c++,简洁些
bro
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int num[n][...
P1091
促销计算 题解:
mlx
#include<iostream> using namespace std; int main() { double n; while(cin>>n) { if(n<1000) printf("discount=1,pay...
P1288
Zero-complexity Tran 题解:
曾不会
n=int(input()) num=list(map(int,input().split())) nn=num[::-1] for i in nn: print(i,end=' ')
P1473
字符棱形 题解:
mlx
#include<iostream> using namespace std; int main() { int n; cin>>n; for(int i=1;i<=2*n-1;i++) { int t,k; if(i&l...
P1007
整除 题解:
666705
#include<stdio.h> int main(){ int num=0; for(int i=100;i<=1000;i++){ &n...
1
2
我要提问
全站热榜
1
无法正确通过题目都是哪些原因造成的?
2
[置顶]计算机考研择校分析【25考研必读】
3
机试如何才能快速提高?
4
题目难点:数学公式不断化解
5
【25计算机考研】39所985院校录取分数线汇总
6
A+B问题 题解:C
7
逻辑很简单,但是实现却要小心多多
8
【23计算机考研】39所985院校录取分数线汇总
9
计算机/软件学校排名!全国第五轮学科评估结果
10
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值