题解列表
阶乘和数(暴力解题)
摘要:参考代码:import java.util.*;
public class Main{
public static void main(String[] args) {
……
1023: [编程入门]选择排序
摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#define M 10
int main()
{
……
1024: [编程入门]矩阵对角线求和
摘要:解题思路:注意事项:参考代码:#include<cstdio>
int a[15];
int main()
{
for(int i=1;i<=9;i++)
scanf("%……
1777: 循环练习之完美数判断
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int n;
int j=0;
……
1042: [编程入门]电报加密
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
#include <string.h>
void fun(char a[])//向后移动一位
{
for (int ……
1049: [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
//定义日期结构体
struct Date
{
int year;
……
1050: [编程入门]结构体之成绩记录
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<string>
using namespace std;
//创建学生结构体
struct Student……
1778: 罗列完美数
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int num;
int sum=0;……