题解列表

筛选

c++简单实现完数判断

摘要:解题思路:主要使用枚举法先判断完数,用循环实现,判断后在逐步输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){    int ……

1480: 模拟计算器

摘要:解题思路:注意事项:case后是‘符号’参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b;    char……

素数回文数的个数两种方法

摘要:暴力写法,范围只有1000我们只需要前后就好了 ``` #include #include #include #include using namespace std; typed……

1783: 星期判断机

摘要:解题思路:注意事项:最后是    default:cout<<"input error!"<<endl;break;参考代码:#include <bits/stdc++.h>using namespa……

编写题解 1783: 星期判断机

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

编写题解 1480: 模拟计算器

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