编写题解 2998: 电影票 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; cout<<a<<" …… 题解列表 2023年12月23日 0 点赞 0 评论 545 浏览 评分:0.0
3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ bool flag; int year; …… 题解列表 2023年12月23日 0 点赞 0 评论 182 浏览 评分:0.0
编写题解 3001: 整数的和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; c…… 题解列表 2023年12月23日 0 点赞 0 评论 290 浏览 评分:0.0
题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//万能头文件using namespace std;int main(){ int a,b; cin>>a>>b;…… 题解列表 2023年12月23日 0 点赞 0 评论 249 浏览 评分:0.0
题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 253 浏览 评分:0.0
分解质因数 摘要:解题思路: 1.找出在(<b)的素数,素数会是因子 2.第一个for循环中循环需要分解的每一个因数 3.第二个for循环找到被分解的因数其每一个因子,不断往下循环找完为止参考代码:a…… 题解列表 2023年12月23日 0 点赞 0 评论 238 浏览 评分:0.0
矩阵加法 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())myList1=[list(map(int,input().split())) for t in range(m)…… 题解列表 2023年12月23日 0 点赞 0 评论 279 浏览 评分:0.0
c语言for简单循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; int i; for (i = 0;i<5;i++) { …… 题解列表 2023年12月23日 1 点赞 1 评论 216 浏览 评分:0.0
图像旋转 摘要:解题思路: 和求转置差不多,添加列元素时,逆序一下注意事项:参考代码:n,m=map(int,input().strip().split())myList=[list(map(int,input().…… 题解列表 2023年12月23日 0 点赞 0 评论 304 浏览 评分:0.0
str1.contains(str2) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年12月23日 0 点赞 0 评论 245 浏览 评分:0.0