编写题解 2839: 石头剪刀布 摘要:解题思路:m[i]表示A,t[i]表示Bq表示A胜得次数,W表示B胜得次数同时注意输入完AB各自的出题规律后要循坏填补后面的对决,即创建一个满足N轮的对局数组注意事项:参考代码:a#include<s…… 题解列表 2023年01月29日 0 点赞 0 评论 764 浏览 评分:9.9
1007: [编程入门]分段函数求值(简单易懂) 摘要:```c #include int main() { int x,y; scanf("%d", &x); if (x < 1) { y = x; } else if…… 题解列表 2023年01月29日 0 点赞 0 评论 433 浏览 评分:9.9
1003密码破译 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc…… 题解列表 2023年01月29日 0 点赞 2 评论 337 浏览 评分:9.3
二分法,求阶乘 摘要:解题思路:通过规律发现:5!-> end 0 number is 110-> end 0 number is 215->end 0 number is 3…………注意事项:参考代码:import os…… 题解列表 2023年01月29日 0 点赞 0 评论 772 浏览 评分:0.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,ans=0; scanf("%d",&n); int a[n]; int b[n]; for(i…… 题解列表 2023年01月29日 0 点赞 0 评论 700 浏览 评分:6.0
菜鸟首次尝试(python)超简单解法 摘要:解题思路:注意事项:参考代码:n=int(input())for _ in range(n): x,y=map(int,input().split()) def realsum(n): …… 题解列表 2023年01月29日 0 点赞 0 评论 463 浏览 评分:8.0
1480: 模拟计算器 摘要:```cpp #include using namespace std; int main() { int a,b; char c; cin>>a>>b>>c; …… 题解列表 2023年01月30日 0 点赞 0 评论 417 浏览 评分:9.9
1481: 蓝桥杯算法提高VIP-剪刀石头布 摘要:```cpp #include using namespace std; int main() { enum caiquan { shitou,bu,ji…… 题解列表 2023年01月30日 0 点赞 0 评论 558 浏览 评分:9.9
1505: 蓝桥杯算法提高VIP-单词个数统计 摘要:```cpp #include #include using namespace std; int main() { char a[80]; gets(a); …… 题解列表 2023年01月30日 0 点赞 0 评论 418 浏览 评分:9.9
3119: 亲戚(c++代码) 摘要:```cpp #include using namespace std; int n,m,a,b; char c; struct qq { int fa,cnt; }; qq…… 题解列表 2023年01月30日 0 点赞 0 评论 554 浏览 评分:9.9