首页 > Tobaku Mokushiroku Kaiji
头像 HUAYI_SUN
发表于 2022-10-01 12:02:47
#include<iostream> using namespace std; #include<algorithm> int main() {     int a,b,c,d,e,f; &nbs 展开全文
头像 威风镰鼬
发表于 2021-06-17 18:12:59
思路 要让主角赢得最多,只要每次出石头的时候对手都出剪刀(其他同理)就好啦。答案就是石头最多能赢的次数+剪刀最多能赢的次数+布最多能赢的次数。 代码 #include<bits/stdc++.h> using namespace std; int main(){ int a,b 展开全文