编写题解 1206: 字符串问题 摘要:##编写题解 1206: 字符串问题 ```cpp #include using namespace std; int main() { string s; cin>>s; fo…… 题解列表 2023年02月04日 0 点赞 0 评论 193 浏览 评分:0.0
<函数>分段函数求值(C语言) 摘要:#include<stdio.h> int Fun(int x) { int y = 0; if (x < 1) { y = x; } else if (x >= 1 &…… 题解列表 2023年02月04日 0 点赞 0 评论 161 浏览 评分:0.0
找第一个只出现一次的字符(代码简短) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,count[26]={0}; char str[100000]; gets(str); f…… 题解列表 2023年02月05日 0 点赞 0 评论 215 浏览 评分:0.0
向量点积计算(建立结构体) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct xy{ int a; int b;}spot[1000];int main(){ int n,sum=0; scanf("…… 题解列表 2023年02月05日 0 点赞 0 评论 243 浏览 评分:0.0
交换 a b 的值(不增加新的变量) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); a=a^b; b=a^b…… 题解列表 2023年02月05日 0 点赞 0 评论 292 浏览 评分:0.0
1027 题解 摘要:参考代码:#include<iostream> using namespace std; int add(int a,int b,int c) { if(a>b) { while(a%b!…… 题解列表 2023年02月05日 0 点赞 0 评论 115 浏览 评分:0.0
核电站问题 摘要:解题思路:注意事项:参考代码:try: while True: n=int(input()) lis = [1,2,4,7] for i in rang…… 题解列表 2023年02月05日 0 点赞 0 评论 198 浏览 评分:0.0
明明的随机数 摘要:```c #include int main(){ int n,a[100],i,j,cnt=0,t; scanf("%d",&n); for(i=0;i…… 题解列表 2023年02月05日 0 点赞 0 评论 191 浏览 评分:0.0
求[X,Y]内被除3余1并且被除5余3的整数的和 摘要:```c #include int main(){ int x,y; long long sum=0; scanf("%d%d",&x,&y); for(;x…… 题解列表 2023年02月05日 0 点赞 0 评论 200 浏览 评分:0.0
1466————蓝桥杯基础练习VIP-字符串对比 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年02月06日 0 点赞 0 评论 176 浏览 评分:0.0