题解 1012: [编程入门]字符串分类统计新手方法 摘要:#include <stdio.h> int main () { char ch[200]; int i = 0; for (i=0;ch[i]<200;i++){ scanf …… 题解列表 2024年12月06日 4 点赞 0 评论 1265 浏览 评分:10.0
1721: 谁是你的潜在朋友 简单易懂 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,以及数组a,大小为2…… 题解列表 2024年12月06日 0 点赞 0 评论 166 浏览 评分:0.0
python重载练习之复数加减法 摘要:解题思路:注意事项:参考代码:class Complex: def __init__(self,real=0,imag=0): self.real=real self…… 题解列表 2024年12月06日 0 点赞 0 评论 213 浏览 评分:0.0
python重载练习之复数加减法 摘要:解题思路:注意事项:参考代码:class Complex: def __init__(self, real1, imag1, real2, imag2, op): self…… 题解列表 2024年12月06日 0 点赞 0 评论 330 浏览 评分:0.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a[n],b[n],s,sum=0; scanf("%d",&n); for(…… 题解列表 2024年12月06日 0 点赞 0 评论 299 浏览 评分:0.0
编写题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if((a<60&&b>60)…… 题解列表 2024年12月06日 0 点赞 0 评论 265 浏览 评分:0.0
数组回文串 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string.h>int main() { char arr [255]; …… 题解列表 2024年12月06日 0 点赞 0 评论 394 浏览 评分:0.0
函数求解最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int m, int n);int lcd(int m, int n);int main(void){ int m…… 题解列表 2024年12月06日 4 点赞 0 评论 1973 浏览 评分:10.0
无聊的星期五 摘要:while True: x, y = list(map(int, input().split())) if x == 0 and y == 0: break print…… 题解列表 2024年12月06日 0 点赞 0 评论 569 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int a[101];int main(){ int n,sum=0; scanf("%d"…… 题解列表 2024年12月06日 0 点赞 0 评论 685 浏览 评分:0.0