蓝桥杯算法提高VIP-剪刀石头布-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b; scanf("%d %d",&a,&b); if((a==0&&b==2)||(a==1&…… 题解列表 2020年08月10日 0 点赞 0 评论 188 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布 (C语言代码)简单;;; 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>enum cai{shi,bu,jian};int main(){ enum cai cai1,cai2; int a,b; sca…… 题解列表 2019年05月09日 0 点赞 0 评论 438 浏览 评分:0.0
明白题意写题解 摘要:注意事项: 要枚举的是游戏的结果,不是游戏方式。不要把石头剪刀布枚举出来。 只是要求用输入的0、1、2表示石头、布、剪刀。参 题解列表 2022年11月04日 0 点赞 0 评论 114 浏览 评分:0.0
无聊的星期五 摘要:解题思路:注意事项:#include <stdio.h> #include<stdlib.h> int main() { int x, y; scanf_s("%d %d", &x, &…… 题解列表 2024年12月27日 0 点赞 0 评论 78 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>enum game {stone, cloth, scissors};int main(void){ enum game hand1, …… 题解列表 2019年02月17日 0 点赞 0 评论 359 浏览 评分:0.0
1481: 蓝桥杯算法提高VIP-剪刀石头布(简单写法C语言) 摘要:```c #include void main() { enum play {stone,cloth,scissors}; int a, b; scanf("%d …… 题解列表 2022年02月12日 0 点赞 0 评论 114 浏览 评分:0.0
一种超简单标准的枚举方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ enum play{lose=-1,equality,win} result; int a,b; …… 题解列表 2022年12月02日 0 点赞 0 评论 95 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(a==b) …… 题解列表 2021年01月19日 0 点赞 0 评论 172 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布-题解(C语言代码) 摘要:解题思路:简单明了注意事项:参考代码:#include<stdio.h> int main() { int a,b,i,j; scanf ("%d%d",&a,&b); …… 题解列表 2020年11月26日 0 点赞 0 评论 147 浏览 评分:0.0
蓝桥杯算法提高VIP-剪刀石头布-题解(C语言描述,switch语句) 摘要:```c #include int main() { enum choose{ stone,cloth,scissor }a,b; enum results{ win=1…… 题解列表 2020年02月20日 0 点赞 0 评论 322 浏览 评分:0.0