题解列表

筛选

整数序列的元素最大跨度值

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

奥运奖牌计数

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

编写题解 2772: 苹果和虫子

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

自定义函数之字符提取

摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<string.h>void yy(char a[],char b[]){    int i,j=0;    for(i=……

大整数加法(C语言)

摘要:解题思路:定义两个字符串 s1 和 s2,用于存储输入的两个大整数。通过 scanf 从标准输入中读取两个字符串。计算两个字符串的长度 la 和 lb,以确定大整数的位数。初始化数组 a 和 b,用于……

题解 2772: 苹果和虫子

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

题解 2776: A*B问题

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

reverse倒序列表

摘要:解题思路:注意事项:参考代码:n=int(input())nums=list(map(int,input().split())) nums.reverse()for i in nums:     pr……