题解列表

筛选

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int n, a[3001],i,b[3001],k=0,j;    sc……

带余除法(C++解法)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a,b;   cin>>a>>b;   cout<<a/b……

三角形判断

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,c;    cin>>a>>b>>c……

模拟计算器

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){     int a,b;     char c;     ……

printf基础练习2

摘要:解题思路:八进制以0开头十六进制以0x开头注意事项:注意前缀和数值之间的空格参考代码:/*输出这个整数的八进制、十进制和十六进制,三个数字用空格分开,最后一个有换行不要忘记八进制和十六进制的前缀哦~*……

[编程入门]密码破译

摘要:解题思路:输出变量加4再以字符输出注意事项:参考代码:/*要将"China"译成密码,译码规律是:用原来字母后面的第4个字母代替原来的字母.例如,字母"A"后面第4个字母是"E"."E"代替"A"。因……

编写题解 2922: 合影效果

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct xs { char sex[20]; float h;};struct xs x[100];struct xs male[……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){    int n,* a,i,m;    scanf("%d", &n); ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n, a[1000][2],i,result=0;    scanf("%d", &n);    ……

车厢重组(冒泡排序)

摘要:解题思路:简单的冒泡排序并记录步数注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main(S……