题解列表

筛选

成绩归类1070

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 测试 {    public static void main(String [] args)……

2786: 判断能否被3、5、7整除(c语言解法)

摘要:解题思路:用if - else if - else 来写,括号里面配合&&和||来增加条件注意事项:只有if和else if后面可以加()写条件,else的后面不能加()写条件参考代码:#includ……

1037题: [宏定义的练习

摘要:# 自己写代码 ```c #include #include #define qiuyu(a,b) t=a/b; int main() { int a,b,t; scanf("……

求出e的值c++

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

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char str1[101], str2[101];    scanf……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],m,i; while (scanf("%d", &n) == 1 && n != 0……