简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float r,s,p=3.1415926; scanf("%f",&r); s=p*r*r; printf(…… 题解列表 2021年08月11日 0 点赞 0 评论 456 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); printf("0%o %d 0x%x\n",a,a,a); r…… 题解列表 2021年08月11日 0 点赞 0 评论 450 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); printf("Hello W…… 题解列表 2021年08月11日 0 点赞 0 评论 502 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float c,F; scanf("%f",&F); c=5*(F-32)/9; printf("c=%.2f…… 题解列表 2021年08月11日 0 点赞 0 评论 466 浏览 评分:6.0
sort练习升序处理 摘要:解题思路:注意事项: sort(a,a+n);表示a数组升序; sort(a,a+n,greater<int>());表示a数…… 题解列表 2021年08月11日 0 点赞 0 评论 998 浏览 评分:9.9
最朴实无华(笨)的解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,wei; int ge,shi,bai,qian,wan; scanf("%d",…… 题解列表 2021年08月11日 0 点赞 0 评论 1065 浏览 评分:9.9
c++矩阵相乘最基本思路附源码 摘要:解题思路:矩阵相乘:n×m 的矩阵与 m×p 的矩阵相乘变成 n×p 的矩阵,矩阵相乘的本质为第一个矩阵的行×后一个矩阵的列,即c[i][j]=∑a[i][k]*b[k][j],1<=i<=n,1<=…… 题解列表 2021年08月11日 1 点赞 0 评论 772 浏览 评分:7.3
羅者——Java语言 1776: [编程入门]原码求补码 摘要:[原题链接](http://https://www.dotcpp.com/oj/problem1776.html "原题链接") 我用的是String转String数组再转int数组并输出 …… 题解列表 2021年08月11日 0 点赞 0 评论 750 浏览 评分:0.0
水仙花数,挺有意思的~~ 摘要:解题思路:首先控制输入的数据是个三位数;再将个,十,百位上的数字表示出来;最后利用if判断完成。注意事项:参考代码:#include<stdio.h>int main(){ int n…… 题解列表 2021年08月11日 0 点赞 0 评论 792 浏览 评分:6.0
1014: [编程入门]阶乘求和--用数组怎么做(如何解决答案错误50) 数组是一个储存数据的容器,数组包含给定类型的一些对象,并将这些对象依次存储在连续的内存空间中。每个独立的对象被称为数组的元素(element)。元素的类型可以是任何对象类型,但函数类型或不完整类型不能作为数组元素。数组本身也是一个对象,其类型由它的元素类型延伸而来。 题解列表 2021年08月11日 0 点赞 0 评论 906 浏览 评分:9.9