题解列表
题解 2096: 打印平行四边形
摘要: #include
using namespace std;
int main(){
int n,i;
cin>>n;
for(i=1;i……
题解 1022: [编程入门]筛选N以内的素数
摘要: #include
using namespace std;
int main(){
int a,b,sh,i;
cin>>a;
for(……
2824: 求出e的值
摘要:```
#include
using namespace std;
double e=1,n,jie=1,num;
int main(){
cin>>n;
for( int i=1;i……
矩阵对角线求(Java)
摘要:解题思路: matrix.length是行。matrix[0].length是列。注意事项:参考代码:import java.util.Scanner;
public class Main {
……
1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:用字符串函数<string.h>注意事项:需注意两个函数的位置,若主函数在前则须在主函数内声明连接的函数参考代码:#include <stdio.h>#include <string.h>v……
自定义函数之字符串反转
摘要:解题思路:for循环,倒叙输出注意事项:参考代码:#include <stdio.h>#include <string.h> int main(){char a[100];int i,j;gets(a……