对于这个问题,直接用暴力算法,直接求解 摘要:参考代码:#include<stdio.h>int main(){ int a=0,d=0,n=0; scanf("%d",&a); d=a; int flag=1; while(flag==1){ …… 题解列表 2024年08月04日 0 点赞 0 评论 138 浏览 评分:0.0
2945: 素数对 摘要:```cpp #include using namespace std; bool js(int x){ int j=2; while(jsqrt(x); } int main() …… 题解列表 2024年08月04日 0 点赞 0 评论 154 浏览 评分:0.0
对于这个问题,直接用暴力算法,直接求解 摘要:参考代码:#include<stdio.h>int main(){ double x; scanf("%lf",&x); if(x>90||x==90){ printf("A"); } if((x>…… 题解列表 2024年08月04日 0 点赞 0 评论 534 浏览 评分:0.0
2882: 矩阵归零消减序列和 摘要:解题思路:注意事项:参考代码:n = int(input())l = []row = []cul = []for i in range(n): s = list(map(int,input().…… 题解列表 2024年08月04日 0 点赞 0 评论 175 浏览 评分:0.0
对于这个问题,直接用暴力算法,直接求解 摘要:参考代码:#include<stdio.h>int main(){ int x; int y=0; scanf("%d",&x); if(x<1){ y=x; } if((x<10&&x>1)||x…… 题解列表 2024年08月04日 0 点赞 0 评论 417 浏览 评分:0.0
对于这个问题,直接用暴力算法,直接求解 摘要:参考代码:#include<stdio.h>int main(){ int a=0; int n[3]; for(int i=0;i<3;i++){ scanf("%d",&n[i]); } for…… 题解列表 2024年08月04日 5 点赞 0 评论 933 浏览 评分:0.0
对于这个问题,直接用最简单的方法 摘要:参考代码:#include<stdio.h>int main(){ double F; double c=0; scanf("%lf",&F); c=5*(F-32)/9; printf("c=%0.…… 题解列表 2024年08月04日 1 点赞 0 评论 347 浏览 评分:0.0
2886: 图像旋转 摘要:解题思路:注意事项:参考代码:n,m= map(int,input().split())l = []for i in range(n): s = list(map(int,input().spl…… 题解列表 2024年08月04日 0 点赞 0 评论 345 浏览 评分:0.0
2937: 短信计费 摘要:```cpp #include using namespace std; int jf(int n,int a[]){ double s=0; for(int i=0;in; int…… 题解列表 2024年08月04日 0 点赞 0 评论 165 浏览 评分:0.0
2885: 矩阵转置 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())l = []for i in range(n): s = list(map(int,input().sp…… 题解列表 2024年08月04日 0 点赞 0 评论 146 浏览 评分:0.0