[编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:直接输出"**************************\nHello World!\n**************************"就好了注意事项:"\n"是换行符号参考代码…… 题解列表 2024年07月29日 1 点赞 0 评论 384 浏览 评分:9.9
第一次用pair数对 摘要:#include<bits/stdc++.h> using namespace std; pair<int,int>a[10]; int main() { int sum1=0,sum2=…… 题解列表 2024年07月29日 0 点赞 0 评论 121 浏览 评分:0.0
【欧拉筛法】哥德巴赫曾猜测 摘要:```cpp #include using namespace std; const int N = 32770; int prime[N];//存储质数 int num[N];//标注是…… 题解列表 2024年07月27日 0 点赞 0 评论 184 浏览 评分:0.0
好用的STL双端队列(1) 摘要:#include<bits/stdc++.h> using namespace std; deque<int>q; int main() { char c[1000]; c…… 题解列表 2024年07月26日 0 点赞 0 评论 100 浏览 评分:0.0
好用的STL双端队列 摘要:#include<bits/stdc++.h> using namespace std; deque<char>q; int main() { char c[100]; while(c…… 题解列表 2024年07月26日 0 点赞 0 评论 163 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:```cpp #include using namespace std; int js(int a,char c,int b){ if(c=='+') cout…… 题解列表 2024年07月25日 0 点赞 0 评论 310 浏览 评分:0.0
1157: 亲和数 摘要:```cpp #include using namespace std; int qhs(int x,int y){ int a=0,b=0; for(int i=1;i…… 题解列表 2024年07月25日 0 点赞 0 评论 123 浏览 评分:0.0
编写题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:```cpp #include using namespace std; int max(int a,int b,int c){ couta>>b>>c; max(a,b,c); r…… 题解列表 2024年07月25日 0 点赞 0 评论 118 浏览 评分:0.0
利用数组的方法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>int main() { int m = 0; cin >> …… 题解列表 2024年07月25日 0 点赞 0 评论 178 浏览 评分:0.0
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,f; char s[200]; a=…… 题解列表 2024年07月24日 0 点赞 0 评论 199 浏览 评分:0.0