Java语言 矩阵对角线求和 摘要:解题思路:注意事项:数组下标从零开始参考代码:Scanner scanner = new Scanner(System.in); int[][] s = new int[3][3]; …… 题解列表 2021年12月04日 0 点赞 0 评论 1039 浏览 评分:7.3
看题解学的 摘要:参考代码:#include<stdio.h>#define MAX ((a>b)?((a>c)?a:c):((b>c)?b:c))float FindMax(float a,float b,float…… 题解列表 2021年12月04日 0 点赞 0 评论 431 浏览 评分:0.0
简洁 !!! 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){ int t; int y=0,u=1,m=1; scanf(…… 题解列表 2021年12月04日 0 点赞 0 评论 348 浏览 评分:0.0
弟弟的作业 摘要:#include<stdio.h> int main() { int a,b,c,k,count=0; char op; //操作符 while (~(k=scan…… 题解列表 2021年12月04日 0 点赞 0 评论 585 浏览 评分:0.0
成绩评定 摘要:解题思路:#include<stdio.h>int main(){ int score; scanf("%d",&score); if(score>=90) { printf("A\n"); } e…… 题解列表 2021年12月04日 0 点赞 0 评论 469 浏览 评分:8.0
结论:x*y-x-y 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int x,y;scanf("%d %d",&x,&y);printf("%d",x*y-x-y); return…… 题解列表 2021年12月04日 0 点赞 4 评论 675 浏览 评分:9.5
用 列表来解决,1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())if m > n: m,n = n,mif m<=1: m = 2list0 = []list1 …… 题解列表 2021年12月04日 0 点赞 0 评论 1083 浏览 评分:9.9
字母转为下一字母(没错我又来报复社会了) 摘要:解题思路:注意事项:参考代码:int main(){ char a[81]; int i = 0; while ((a[i] = getchar()) != '\n' && i < 8…… 题解列表 2021年12月04日 0 点赞 0 评论 765 浏览 评分:0.0
蓝桥杯算法训练VIP-比较字符串 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; cha…… 题解列表 2021年12月04日 0 点赞 0 评论 439 浏览 评分:0.0
题解 1011: [编程入门]最大公约数与最小公倍数 (简单穷举求解!!!) 摘要:解题思路:求最大公约数i从1开始到min{m,n},利用强制转换,(float)m/i==m/i并且(float)n/i==n/i,则i为一个公约数;求最小公倍数i从min{m,n}到m*n,同样利用…… 题解列表 2021年12月04日 0 点赞 0 评论 528 浏览 评分:0.0