题解列表

筛选

矩阵加法

摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())myList1=[list(map(int,input().split())) for t in range(m)……

分解质因数

摘要:解题思路:    1.找出在(<b)的素数,素数会是因子    2.第一个for循环中循环需要分解的每一个因数    3.第二个for循环找到被分解的因数其每一个因子,不断往下循环找完为止参考代码:a……

题解 2784: 收集瓶盖赢大奖

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

题解 2779: 输出绝对值

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

题解 2781: 奇偶ASCII值判断

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    char c;    cin>>c;    if(in……

编写题解 3001: 整数的和

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

3009: 判断闰年

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    bool flag;    int year;   ……

 编写题解 2998: 电影票

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

题解 3009: 判断闰年

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