题解列表

筛选

编写题解 2780: 奇偶数判断

摘要:解题思路:1、创建变量n2、输入n                  {是——输出even3、判断n是不是偶数                &nbs

国王的金币

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int day,money=0,mmoney=1,i……

分段函数的求解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    float x,y;    scanf("%f",&x);    if(x>=0&&x<5)    { ……

骑车与走路

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int a;    scanf("%d",&a);    if((50+(double)a/3.0)<(……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a;    int sum[26] = { 0 },i;  ……

3009: 判断闰年

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a;   cin>>a;   if(a%4==0&&a%1……

难题+思路正确=简单

摘要:解题思路:看不懂看最后的注释注意事项:参考代码#include<stdio.h>#include<string.h>int main(){    char digit[200];    while(s……

C语言训练-"水仙花数"问题2

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,c;    for(int i=10……

计算算算算

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

感谢支持,谢谢你们的支持

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b,c;    for(int i=10……