实数加法 題解 ######無腦AC######思路1、數據對位(小數點前後位數不夠用0補充)2、對位計算3、十進制進位4、去末尾0```javaimportjava.lang.String;importjava.util.Scanner;publicstaticvoidmain(String[]args){//TO 题解列表 2022年11月02日 0 点赞 0 评论 768 浏览 评分:9.9
谁考了第k名c++ 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; struct Student{ int id; double …… 题解列表 2022年11月02日 0 点赞 0 评论 601 浏览 评分:9.9
蛇行矩阵(c语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int N,i=1,j=0,c,a,d; int b=2,q; scanf("%d",&N); q=N; while(j<q) { …… 题解列表 2022年11月02日 0 点赞 0 评论 513 浏览 评分:9.9
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意传传递的数据以及输入的个数数组和想要移动的位数注意事项:移动的写法for (j = b - c; j <b;j++)参考代码:#include <stdio.h>int a[10001]…… 题解列表 2022年11月02日 0 点赞 0 评论 535 浏览 评分:9.9
数组的距离(简单嘞C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<algorithm> #include<cmath> int m…… 题解列表 2022年11月02日 0 点赞 0 评论 773 浏览 评分:9.9
C艹之保留两位小数 #include#includeusingnamespacestd;intmain(){floats=(15+25)*10;//法一/*cout 题解列表 2022年11月03日 0 点赞 0 评论 1467 浏览 评分:9.9
最高的分数(c++超简单) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, n, max; cin >> n; m…… 题解列表 2022年11月03日 0 点赞 0 评论 927 浏览 评分:9.9
打印图案(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){cout<<" *"<<endl;cout<<" * *"<<endl…… 题解列表 2022年11月03日 0 点赞 0 评论 928 浏览 评分:9.9
去掉空格(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<string> int main() { string…… 题解列表 2022年11月03日 0 点赞 0 评论 868 浏览 评分:9.9
1020: [编程入门]猴子吃桃的问题(C语言,简单循环) 摘要:题目:猴子第一天摘下若干个桃子,当即吃了一半,还不过瘾,又多吃了一个。 第二天早上又将剩下的桃子吃掉一半,又多吃一个。以后每天早上都吃了前一天剩下的一半零一个。到第N天早上想再吃时,见只剩下一个桃子了…… 题解列表 2022年11月03日 0 点赞 0 评论 800 浏览 评分:9.9