术式反转 赫 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct _fushu{ int va…… 题解列表 2023年09月30日 0 点赞 0 评论 722 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>#define maxsize 100000typedef st…… 题解列表 2023年09月29日 0 点赞 0 评论 1012 浏览 评分:6.0
结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main() { struct student { string Xue…… 题解列表 2023年09月29日 0 点赞 0 评论 561 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int judge(int n) { if (n % 4 == 0 && …… 题解列表 2023年09月29日 0 点赞 0 评论 485 浏览 评分:0.0
找第一个只出现一次的字符 参考代码:```c#include#includeintmain(){chara[100000];gets(a);intlen=strlen(a);charc;intk=-1;//k不能设0,不然万一a[0]是第一个只出现一次的字符,就错了for(inti=0;i 题解列表 2023年09月29日 0 点赞 0 评论 652 浏览 评分:9.9
单词倒排(使用 isalpha( ) ) 参考代码:```c#include#include#includeintmain(){chara[1000];fgets(a,sizeof(a),stdin);//斯,如果出现运行错误,把gets换成fgets也是没用的,主要问题还是数组空间intlen=strlen(a);for(inti=len- 题解列表 2023年09月29日 0 点赞 0 评论 605 浏览 评分:0.0
2781-奇偶ASCII值判断 char转int 摘要:import java.util.Scanner;public class Main{ public static void main(String[] args){ Scanne…… 题解列表 2023年09月28日 0 点赞 0 评论 752 浏览 评分:9.9
简单明了的解题法 摘要:解题思路:转置不就是吧(a,b)换成(b,a)么,我直接把循环嵌套输入的i,j倒过来不就实现了么注意事项:参考代码:#include<stdio.h>#include<math.h>int main(…… 题解列表 2023年09月28日 0 点赞 0 评论 699 浏览 评分:0.0
遍历树——直接硬搜(思路超简单) 摘要:解题思路:开多几个数组分别记录每个店的各种元素(也可以考虑用结构体)(a-父亲节点,b-该点具体值,c-左孩子节点,d-右孩子节点,p-旗帜 )本题的关键在于一个点距离另一个点的距离,函数中可设一个该…… 题解列表 2023年09月27日 0 点赞 0 评论 678 浏览 评分:9.9
标题五个字 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m1,m2,n1,n2,isok=1; scanf("%d %d",&m1,&m2);…… 题解列表 2023年09月27日 0 点赞 0 评论 699 浏览 评分:9.9