题解列表

筛选

C++类的思想题解

摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s……

这真的是太简单了,有手就行

摘要:解题思路:注意事项:(为了防止control+C,control+V仅供参考,建议在自己的编译器上,先编译运行)参考代码:#include "stdio.h"int main() { int n; i……

超级简洁版

摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(……

本题的思路要清晰

摘要:解题思路:将两边的数字调换位置注意事项:循环次数为5次参考代码:#include<stdio.h>int main(){     int a[10],i,temp;     for(i=0;i<10;……

C语言训练-阶乘和数*

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int Weishu(int n)//判断位数{    int i = 0;    while (n ……

!三个字符串的排序

摘要:#include <stdio.h>#include <string.h> int main(){ char x[100];char y[100];char z[100];  char c1[100]……

java题解 最简单的解法

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        System.out.pri……

画矩形(一般思路)

摘要:解题思路:先定义变量,字符是char,分为两种情况,第一种为实心,i,j代表行和列,然后直接输出特定字符,第二种为空心,i,j代表行和列,在指定行列(第一行最后一行,最后一行,最后一列)输出特定字符,……