3008: 买笔(超级简单) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; int b…… 题解列表 2024年01月07日 0 点赞 1 评论 421 浏览 评分:9.9
题解 3008: 买笔 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x,a,b; cin>>x; a…… 题解列表 2024年01月07日 0 点赞 0 评论 442 浏览 评分:9.9
题解 2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin>>a; cout<<(a-1…… 题解列表 2024年01月07日 0 点赞 0 评论 443 浏览 评分:0.0
3008: 买笔 3008 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008: 买笔 3008 摘要:解题思路:注意事项:可以定义多个变量参考代码:#include <iostream>using namespace std;int main(int argc, char** argv){int x,…… 题解列表 2024年01月07日 0 点赞 0 评论 451 浏览 评分:9.9
C++语言实现,具体操作在注释里面 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[100] = {0};//暂时存储数据 i…… 题解列表 2024年01月06日 0 点赞 0 评论 525 浏览 评分:0.0
指针解决(高举C++大旗!) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int arr[10] = {0};void Set_arr(int* p){ for(…… 题解列表 2024年01月06日 0 点赞 0 评论 432 浏览 评分:0.0
c++简单实现完数判断 摘要:解题思路:主要使用枚举法先判断完数,用循环实现,判断后在逐步输出。注意事项:参考代码:#include<iostream>using namespace std;int main(){ int …… 题解列表 2024年01月06日 0 点赞 0 评论 457 浏览 评分:9.9
1480: 模拟计算器 摘要:解题思路:注意事项:case后是‘符号’参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char…… 题解列表 2024年01月06日 0 点赞 0 评论 489 浏览 评分:9.9
素数回文数的个数两种方法 暴力写法,范围只有1000我们只需要前后就好了```#include#include#include#includeusingnamespacestd;typedeflonglongll;constintN=1100;intp[N];inta[N];boolcheck(intx){if(xn;ints 题解列表 2024年01月06日 0 点赞 0 评论 506 浏览 评分:0.0
2789: 骑车与走路2789: 编写题解 2789: 骑车与走路 标题骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路27 摘要:解题思路:dsvrfgdsf注意事项:adfvgdsvvsfdvr参考代码:#include <bits/stdc++.h>using namespace std;int main(){double …… 题解列表 2024年01月06日 0 点赞 0 评论 598 浏览 评分:6.0