c语言for简单循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; int i; for (i = 0;i<5;i++) { …… 题解列表 2023年12月23日 1 点赞 1 评论 393 浏览 评分:0.0
矩阵加法 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())myList1=[list(map(int,input().split())) for t in range(m)…… 题解列表 2023年12月23日 0 点赞 0 评论 415 浏览 评分:0.0
分解质因数 摘要:解题思路: 1.找出在(<b)的素数,素数会是因子 2.第一个for循环中循环需要分解的每一个因数 3.第二个for循环找到被分解的因数其每一个因子,不断往下循环找完为止参考代码:a…… 题解列表 2023年12月23日 0 点赞 0 评论 366 浏览 评分:0.0
题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 353 浏览 评分:0.0
题解 2779: 输出绝对值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2023年12月23日 0 点赞 0 评论 553 浏览 评分:9.9
题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//万能头文件using namespace std;int main(){ int a,b; cin>>a>>b;…… 题解列表 2023年12月23日 0 点赞 0 评论 386 浏览 评分:0.0
题解 2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char c; cin>>c; if(in…… 题解列表 2023年12月23日 0 点赞 0 评论 385 浏览 评分:9.9
编写题解 3001: 整数的和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; c…… 题解列表 2023年12月23日 0 点赞 0 评论 431 浏览 评分:0.0
3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ bool flag; int year; …… 题解列表 2023年12月23日 0 点赞 0 评论 303 浏览 评分:0.0
编写题解 2998: 电影票 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; cout<<a<<" …… 题解列表 2023年12月23日 0 点赞 0 评论 679 浏览 评分:0.0