题解列表
编写题解 2780: 奇偶数判断
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; if (a%2==0)……
去掉空格(c语言新题解)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int removeSpace(char s[]){ int count=0; i……
编写题解 1160: 出圈(队列)
摘要:解题思路:把m-1个数加到后面之后,删除第一个数即可注意事项:参考代码:while True: try: n,m = map(int,input().split()) ……
C语言简单for循环求阶乘
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=1,sum=0; int i; scanf("%lld",&a); f……
1049: [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;struct date{ int n,y,r;};int m[13]= {0……
1051: [编程入门]结构体之成绩统计2
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;struct student{ char xuehao[10000]; ……
[编程入门]有规律的数列求和
摘要:解题思路:分子分母参考斐波那契数列规律注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include <stdio.h>float Fibonacci_1(fl……