A+B for Input-Output Practice (III)C语言 摘要:#include<stdio.h> int main() { int a, b; while (scanf("%d%d", &a, &b)!=EOF) { if (a == 0…… 题解列表 2023年06月05日 0 点赞 0 评论 197 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1001]; gets(str); st…… 题解列表 2023年06月05日 0 点赞 0 评论 325 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void CompactIntegers(int a[],int k,int n){ int i; for (i = k; …… 题解列表 2023年06月05日 0 点赞 0 评论 251 浏览 评分:0.0
A+B for Input-Output Practice (V) 摘要:#include<stdio.h> int main() { int a; scanf("%d",&a); int sum = 0,c; int b[a][100]; f…… 题解列表 2023年06月05日 0 点赞 0 评论 190 浏览 评分:0.0
C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int main(){ int i,j,s=0; int n; int a[10][10]; cin>>…… 题解列表 2023年06月06日 0 点赞 0 评论 164 浏览 评分:0.0
普通的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =10010;int a[N];…… 题解列表 2023年06月06日 0 点赞 0 评论 594 浏览 评分:0.0
枚举加分类 摘要:解题思路:结果只可能是4、6、8中的一个值。def func(x): sign=8 for a in (0,1): for b in (2,3): fo…… 题解列表 2023年06月06日 0 点赞 0 评论 526 浏览 评分:0.0
谁考了第K名 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc =…… 题解列表 2023年06月06日 0 点赞 0 评论 307 浏览 评分:0.0
奇数单增序列 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2023年06月06日 0 点赞 0 评论 241 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> //strlen()函数在string头文件中,一定得先调用一下 int …… 题解列表 2023年06月06日 0 点赞 0 评论 172 浏览 评分:0.0