编写题解 1015: [编程入门]求和训练 摘要:解题思路:yyyyyy注意事项:yyyyyy参考代码:#include<stdio.h>int main(void){ int An = 0, Bn = 0; float Cn = 0; …… 题解列表 2023年12月16日 0 点赞 0 评论 825 浏览 评分:9.9
使用滑动窗口来解决 摘要:解题思路:注意事项:参考代码:n = int(input()) a = input().split() s = [] ans = 0 # 初始化收集的雪花数量 l, r = 0, 0 # …… 题解列表 2023年12月16日 0 点赞 0 评论 676 浏览 评分:9.9
整数奇偶排序(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}i…… 题解列表 2023年12月16日 0 点赞 0 评论 814 浏览 评分:9.9
2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double n,x,y; cin>>n>>x…… 题解列表 2023年12月16日 0 点赞 0 评论 451 浏览 评分:9.9
2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x1,y1,x2,y2,x3,y3,a…… 题解列表 2023年12月16日 0 点赞 0 评论 551 浏览 评分:9.9
题解 2922:合影效果(看我看我,易懂) ```c#include#include#includetypedefstructpeople{charsex[7];floatheight;}stu;intmain(){stu*x;//开辟一段空间intn,flag1=0,flag2=0;//flag1代表男生计数, 题解列表 2023年12月16日 0 点赞 0 评论 549 浏览 评分:9.9
编写题解 2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(15…… 题解列表 2023年12月16日 0 点赞 0 评论 1039 浏览 评分:9.9
题解 2921: 整数奇偶排序 ```c#includeintmain(){intarr1[100],arr2[100],arr[100];//arr1存奇数,arr2存偶数for(inti=0;i<10;i++){scanf("%d",&arr[i]);}intflag1=0,flag2=0;//flag1奇数计数, 题解列表 2023年12月16日 0 点赞 0 评论 699 浏览 评分:9.9
2759: 打印字符 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; cout<<(char)a;…… 题解列表 2023年12月16日 0 点赞 0 评论 542 浏览 评分:9.9
题解 2917: 奇数单增序列(看过来) ```c#include#includeintmain(){intN,a[501]={0},b[500]={0};intflag=0;scanf("%d",&N);for(inti=0;i 题解列表 2023年12月16日 0 点赞 0 评论 695 浏览 评分:9.9 « 12...5584558555865587558855895590...59135914 »