题解列表

筛选

字符串的输出(C++)语言

摘要:解题思路:其实在int main(){}下写两个函数会更简单,不用单独再写两个函数注意事项:参考代码:#include<iostream>#include<string>using namespace……

1016: [编程入门]水仙花数判断

摘要:import java.io.*; /**  * 从 100 循环到 1000,用三个 int 分别保存百位、十位和个位。  */ public class Main {     p……

1018: [编程入门]有规律的数列求和

摘要:import java.io.*; /**  * 规律:第一项的分母是 1,分子是 2,往后分母是前一项的分子,分子是前一项的分子加上分母。  */ public class Main……

编写题解 1182: 人民币问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){   int money,approach=0;  while(scanf("%d",&money)!=EOF)……

编写题解 1183: 人见人爱A+B 无

摘要:解题思路:注意事项:参考代码:#include <stdio.h> void add_A_B( long *A, long *B );  int main(){    long    A[3], B[……