1287: 最大质因数 摘要:```cpp #include using namespace std; bool fun(int x) { int y; for(y=x-1;y>1;y--) …… 题解列表 2023年04月15日 0 点赞 0 评论 374 浏览 评分:9.9
1288: 线段的总长 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; long long s[n],…… 题解列表 2023年04月15日 0 点赞 0 评论 360 浏览 评分:9.9
1289: N的-2进制表示 摘要:```cpp #include using namespace std; int main() { int i=0,num; char str[128]={'\0',};…… 题解列表 2023年04月15日 0 点赞 0 评论 299 浏览 评分:9.9
1291: 外星人的密码数字 摘要:```cpp #include #include using namespace std; int main() { string rule,str; cin>>rule…… 题解列表 2023年04月15日 0 点赞 0 评论 423 浏览 评分:9.9
1294: 木瓜地 摘要:```cpp #include using namespace std; int main() { int m,n,a[41][41],i,j,k,l; while(sca…… 题解列表 2023年04月15日 0 点赞 0 评论 363 浏览 评分:9.9
1296: 牛棚回声 摘要:```cpp #include using namespace std; int max_match(string s1, string s2) { int len1=s1.leng…… 题解列表 2023年04月15日 0 点赞 0 评论 411 浏览 评分:9.9
1716: 数据结构-快速排序 摘要:```cpp #include using namespace std; int get_mid(int arr[],int left,int right) { int pivot=…… 题解列表 2023年04月15日 0 点赞 0 评论 441 浏览 评分:9.9
2839: 石头剪刀布 只要有耐心,总能做对 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ //比赛n轮,输入n ,小A的周期长度na,小B的周期长…… 题解列表 2023年04月15日 0 点赞 0 评论 359 浏览 评分:9.9
计算2的幂计算2的幂 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc= new Scanner…… 题解列表 2023年04月15日 0 点赞 0 评论 384 浏览 评分:9.9
#include<bits/stdc++.h> using namespace std; int main() { int a; short b; cout< 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a; short b; cout<<sizeof a<<" "<…… 题解列表 2023年04月15日 0 点赞 0 评论 314 浏览 评分:9.9