题解列表

筛选

题解 2780: 奇偶数判断

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

题解 2784: 收集瓶盖赢大奖

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

题解 3009: 判断闰年

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

题解 3006: 适合晨练

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

题解 2781: 奇偶ASCII值判断

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

题解 2779: 输出绝对值

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

矩阵转置

解题思路:注意事项:参考代码:n,m=map(int,input().strip().split())myList=[list(map(int,input().strip().split()))fortinrange(n)]myList1=[]#转置后的数组forainrange(m):myList1

2861: 验证子串

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

题解 1764: 循环入门练习1

摘要:解题思路:利用高斯的求数方法,没想到对了。注意事项:直接输出结果就行参考代码:#include <bits/stdc++.h>using namespace std;int main(){    co……