矩阵转置(超级简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100][100]; int n,i,j; scanf("%d",&n…… 题解列表 2023年01月17日 0 点赞 0 评论 930 浏览 评分:9.9
1116: IP判断(python) 摘要:解题思路:1、EOF即为"End of file"缩写2、四个整数中不允许有前导零存在:即当数字长度大于一位时(0是可以的),第一位为0的数都是含有前导零的数参考代码:while True: t…… 题解列表 2023年01月17日 0 点赞 0 评论 763 浏览 评分:9.9
明明的随机数(水题) 摘要:```c #include int main(){ int n,i,j,k=0,a[101],b[101],t; scanf("%d",&n); for(i=0;i…… 题解列表 2023年01月18日 0 点赞 0 评论 512 浏览 评分:9.9
数列(水题,测试数据有问题) ```c#includelonglongpower(intk,intj){longlongans=1;while(j){ans*=k;j--;}returnans;}intmain(){intk,n,i,j,r[1000],cnt=0;intsum=0;//我一开始用longlong居然不对, 题解列表 2023年01月18日 0 点赞 0 评论 655 浏览 评分:9.9
1244: 破解简单密码 摘要:```cpp #include using namespace std; int main() { string s; while(cin>>s) { …… 题解列表 2023年01月18日 1 点赞 0 评论 626 浏览 评分:9.9
C语言训练-求矩阵的两对角线上的元素之和(水题) 摘要:```c #include int main(){ int n,a[10][10],i,j,sum=0; scanf("%d",&n); for(i=0;i…… 题解列表 2023年01月18日 0 点赞 0 评论 553 浏览 评分:9.9
1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:参考代码:n = int(input())def an(n): for i in range(1, n + 1): if i == 1: print('…… 题解列表 2023年01月18日 0 点赞 0 评论 473 浏览 评分:9.9
2794: 求平均年龄 ```cpp#include#includeusingnamespacestd;intmain(){intn,m,i=0;doublesum=0;cin>>n;m=n;inta[n];while(n){cin>>a[i];sum+=a[i];n--;i++;}cout 题解列表 2023年01月18日 0 点赞 0 评论 881 浏览 评分:9.9
2801: 奇数求和 摘要:```cpp #include using namespace std; int main() { int m,n,t,s=0; cin>>m>>n; if(m>…… 题解列表 2023年01月18日 0 点赞 0 评论 724 浏览 评分:9.9
2998: 电影票 摘要:```cpp #include using namespace std; int main() { int x; cin>>x; cout…… 题解列表 2023年01月18日 0 点赞 0 评论 737 浏览 评分:9.9