发表新文章 文章 > 写新文章 摘要:#include <bits/stdc++.h> using namespace std; int main() { int a,b; string str; st…… 文章列表 2023年11月04日 0 点赞 0 评论 144 浏览 评分:0.0
密码翻译233 摘要:#include <bits/stdc++.h>using namespace std;char s[1000];int main(){ cin.getline(s,300); for(i…… 文章列表 2023年11月04日 0 点赞 0 评论 259 浏览 评分:9.9
2997(亲测有效) 摘要:```cpp #include using namespace std; int main(){ cout…… 文章列表 2023年11月02日 0 点赞 0 评论 210 浏览 评分:9.9
2006题解(加经验) 摘要:#include<iostream>using namespace std;int main(){ int a; cin>>a; if(a>0)cout<<"positive"<<e…… 文章列表 2023年11月01日 0 点赞 1 评论 175 浏览 评分:9.9
n的阶乘定义为n!=1*2*3*……*n 如3!=6 n!通常最后会有很多0,如5!=120 最后有一个0,现在统计n!去除末尾的0后,最后k位是多少 摘要:#include<stdio.h>#include<math.h>int main(){ int n,k; scanf("%d%d",&n,&k); long long sum=1;…… 文章列表 2023年10月31日 0 点赞 0 评论 329 浏览 评分:6.0
带分数 (dfs)c++ 摘要:题目描述100 可以表示为带分数的形式:100 = 3 + 69258 / 714。还可以表示为:100 = 82 + 3546 / 197。注意特征:带分数中,数字1~9分…… 文章列表 2023年10月30日 0 点赞 2 评论 379 浏览 评分:9.9
发表新文章 摘要:#include <bits/stdc++.h> using namespace std; int main() { string str; cin>>str; …… 文章列表 2023年10月28日 0 点赞 1 评论 251 浏览 评分:9.9
重开(acwing):快速排序 摘要://先排序后递归 左右边界要扩大1 #include<iostream> using namespace std; const int N=10010; int n,a[N]; void q…… 文章列表 2023年10月26日 0 点赞 0 评论 221 浏览 评分:9.9
精品文章 大连交通大学五年制C语言试卷一 考试笔记 摘要:第1题C语言源程序文件经过C编译程序编译后生成的目标文件的后缀为( )。A. .exe 解析:可执行文件的后缀B. .c 解析:源文件的后缀C. .obj 解析 :编译后目标文件的…… 文章列表 2023年10月26日 1 点赞 0 评论 609 浏览 评分:9.0
发表新文章 摘要:#include <bits/stdc++.h> using namespace std; int flag[30]; char b[30]= {'w','x',…… 文章列表 2023年10月21日 0 点赞 0 评论 525 浏览 评分:9.9