题解列表

筛选

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……

编写题解 2791: 计算邮资

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

2789: 骑车与走路

摘要:解题思路:有三种情况注意事项:Bike两边要加“ ”参考代码:#include <bits/stdc++.h>using namespace std;int main(){double a;cin>>……

2790: 分段函数

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