奇数单增序列——C和C++的STL相结合 摘要://提交代码时提交成C++语言即可 #include<stdio.h> #include<algorithm> using namespace std; #define N 500 int …… 题解列表 2023年03月22日 0 点赞 0 评论 680 浏览 评分:0.0
谁考了第K名(C语言)——输入时按分数排序再插入数组 摘要://使用C++文件,提交要用C++ #include#include#define N 500 struct S { char sid[N]; double score; }; int…… 题解列表 2023年03月22日 0 点赞 0 评论 784 浏览 评分:0.0
谁拿了最多奖学金——C语言结构体 摘要:#include<stdio.h> #include<stdlib.h> struct S { char name[20]; int score; int total; char…… 题解列表 2023年03月22日 0 点赞 0 评论 613 浏览 评分:9.9
二级C语言-计算素数和:注意 i<2 的情况 #include#includeusingnamespacestd;boolisprime(intx){intcount=0;if(xm>>n;intsum=0;for(inti=m;i 题解列表 2023年03月21日 0 点赞 0 评论 509 浏览 评分:0.0
简易版C语言代码 摘要:解题思路:注意事项:参考代码:int main() { int a = 0; for (a = 100; a < 1000; a++) { int b = a % 10; int …… 题解列表 2023年03月21日 0 点赞 0 评论 454 浏览 评分:0.0
错误探测——C语言 摘要://一直在打代码就没写注释,后续有空再补充#include<stdio.h> #define N 100 int num[N][N]; int main(void) { int n; s…… 题解列表 2023年03月21日 0 点赞 0 评论 437 浏览 评分:0.0
编写题解 2902: 输出最高分数的学生姓名 摘要:解题思路:注意事项:参考代码:#include <stdio.h> typedef struct stu{ char name[20]; int sroue; }temp; in…… 题解列表 2023年03月21日 0 点赞 0 评论 507 浏览 评分:0.0
电报加密代码简单粗暴 摘要:解题思路:用for循环游历数组用if语句找到a~Z,由于z和Z不能直接加1变成a所以我们吧判断写成arr[i]>='a'&&arr[i]<'z',和arr[i]>=&#…… 题解列表 2023年03月21日 0 点赞 0 评论 759 浏览 评分:9.9
字符串连接C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char a[100],b[100],c[200]; gets(a); g…… 题解列表 2023年03月21日 0 点赞 0 评论 563 浏览 评分:0.0
编写题解 1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:解题思路: 这题有点意思,记录一下注意事项: s(m,1)=a(1,1)+1 //n=m 或s(m,n)=(s(m,n+1))+n //n!=m,n!=1 a(m,…… 题解列表 2023年03月20日 0 点赞 0 评论 637 浏览 评分:0.0