题解列表

筛选

1086: A+B for Input-Output Practice (II)

摘要:题目要求:第一行整数表示输入整数a和b的数量。您的任务是计算a+b解题思路:通过二维数组保存数据,利用循环求和参考代码:#include<stdio.h>int main(){    int a[2]……

杨辉三角 python

摘要:解题思路:注意事项:参考代码:i,j=map(int,input().split())n=1000a=[[0]*n for i in range(n)]for c in range(n):    fo……

三个字符串的排序

摘要:strlen:字符串长度strcmp(a,b):字符串大小比较,如果a大于b,大于0。前面减后面strcpy(a,b):字符串拷贝,把b拷贝给a。后面赋值给前面#include <stdio.h> ……