C语言训练-8除不尽的数 题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) { int i, n, t, yes, a; yes = 0; for (i = 2…… 题解列表 2023年01月05日 0 点赞 0 评论 304 浏览 评分:0.0
计算2的N次方 摘要:解题思路:计算2的N次方注意事项:比较简单,哎,代码太少字数不够,发表不了………………参考代码:N = int(input())print(2**N)…… 题解列表 2023年01月05日 0 点赞 0 评论 527 浏览 评分:5.0
1209: 密码截获 摘要:```cpp #include using namespace std; bool pan_huiwei(string s) { int len=s.size(); for…… 题解列表 2023年01月05日 0 点赞 0 评论 403 浏览 评分:9.9
蛇形矩阵C语言 摘要:解题思路:计算出矩阵中最大值为多少,然后再计算矩阵各个值。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][…… 题解列表 2023年01月05日 0 点赞 2 评论 290 浏览 评分:9.3
蓝桥杯基础练习VIP-2n皇后问题(Python语言) 摘要:解题思路:先放置黑皇后,黑皇后放置完毕后,在黑皇后已占位的基础上开始放置白皇后,一个回合实际上既包括放置黑皇后也包括放置白皇后,待黑白皇后都放置完毕后,再恢复现场,进入下一轮参考代码:from col…… 题解列表 2023年01月05日 0 点赞 0 评论 402 浏览 评分:0.0
自定义函数之字符串拷贝(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<assert.h>char* my_strcpy( char* dest, const char* src,int m…… 题解列表 2023年01月05日 0 点赞 0 评论 261 浏览 评分:0.0
2904: 谁拿了最多奖学金 摘要:```cpp #include #include #include using namespace std; struct Stu { string name; int…… 题解列表 2023年01月05日 0 点赞 0 评论 369 浏览 评分:9.9
2903: 不高兴的津津 摘要:```cpp #include #include using namespace std; int main() { int day,arr1[8],arr2[8]; m…… 题解列表 2023年01月05日 0 点赞 0 评论 511 浏览 评分:9.9
2902: 输出最高分数的学生姓名 摘要:```cpp #include using namespace std; struct student { int chengji; char name[20]; }; …… 题解列表 2023年01月05日 0 点赞 0 评论 557 浏览 评分:9.9
2909: 直方图 摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[10001];…… 题解列表 2023年01月05日 0 点赞 0 评论 446 浏览 评分:9.9