题解列表

筛选

实数加法 題解

######無腦AC######思路1、數據對位(小數點前後位數不夠用0補充)2、對位計算3、十進制進位4、去末尾0```javaimportjava.lang.String;importjava.util.Scanner;publicstaticvoidmain(String[]args){//TO

谁考了第k名c++

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; struct Student{     int id;     double ……

蛇行矩阵(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) { ……

数组的距离(简单嘞C++)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<algorithm> #include<cmath> int m……

最高的分数(c++超简单)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a, n, max;    cin >> n;    m……

打印图案(C++)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){cout<<"  *"<<endl;cout<<" * *"<<endl……

去掉空格(简单C++)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<string> int main() {     string……

1020: [编程入门]猴子吃桃的问题(C语言,简单循环)

摘要:题目:猴子第一天摘下若干个桃子,当即吃了一半,还不过瘾,又多吃了一个。 第二天早上又将剩下的桃子吃掉一半,又多吃一个。以后每天早上都吃了前一天剩下的一半零一个。到第N天早上想再吃时,见只剩下一个桃子了……