结构体之成绩统计2 -解题思路:用两个函数完成输入与输出,具体见代码注释-代码如下:```c#include#includetypedefstructstduent{charid[20];charname[20];intscores1;intscores2;intscores3;}stu;//定义结构体voidinput 题解列表 2023年02月21日 0 点赞 0 评论 641 浏览 评分:9.9
2820: 含k个3的数(python) 摘要:解题思路:注意事项:参考代码:m,k = input().split() y = "NO" if int(m) % 19 == 0 and m.count("3") == int(k): …… 题解列表 2023年02月21日 0 点赞 0 评论 775 浏览 评分:9.9
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 636 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:用结构体数组来解决问题注意事项:见代码参考代码:#include <stdio.h>typedef struct student{ char id[20]; char name[20]; i…… 题解列表 2023年02月21日 0 点赞 0 评论 440 浏览 评分:0.0
买图书的小明 摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) …… 题解列表 2023年02月21日 0 点赞 0 评论 624 浏览 评分:0.0
2815: 求特殊自然数(python) 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): …… 题解列表 2023年02月21日 0 点赞 1 评论 675 浏览 评分:9.9
2990:python十进制到八进制(超级简单两行!!!) n=int(input())//只用了两行,直接发布题解c语言网不让。//这系统嫌我太简洁。//真服了。//只能多几行废话了。//凑活看吧。print(format(n,"o")) 题解列表 2023年02月21日 0 点赞 0 评论 678 浏览 评分:9.9
1654: 蓝桥杯算法训练VIP-确定元音字母位置(超级简洁)(超级易懂)新手也适合看 importjava.util.*;publicclass确定元音字母位置{publicstaticvoidmain(String[]args){Scannersc=newScanner(System.in);Stringa=sc.next();ints=0;char[]arr=a.toCharArr 题解列表 2023年02月21日 0 点赞 0 评论 665 浏览 评分:9.9
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 909 浏览 评分:9.9
scanf和gets的混合使用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[1001]; int n; scanf("%d",&n);//scanf结束回车…… 题解列表 2023年02月21日 0 点赞 0 评论 564 浏览 评分:0.0