题解列表

筛选

C++描述:用类解决

摘要:想看同类代码,请看我的空间!QAQ参考代码:#include <iostream>//先锋头文件  #include <algorithm> using namespace std; class……

C++描述:用函数最方便啦!QAQ

摘要:如果想看同类代码可看我的空间。用函数最简单了!QAQ#include <iostream>//先锋头文件  #include <algorithm> using namespace std; f……

【亲和数】 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {  int a,b,c,d,i=1,s1,s2;  scanf("%d\n",&a);  while(i<=a……

选择结构(C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char A,B,C,D,E,c6;    int a;    scanf("%d",&a);    if……