汪汪与打针(C++简单逻辑清晰) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int a,int b) //返回次数 { …… 题解列表 2022年10月31日 0 点赞 0 评论 190 浏览 评分:9.9
汪汪和打针 摘要:解题思路:注意事项:有点漏洞,不过可以过这题参考代码:#include<iostream>using namespace std;int m = 120, l = 100;///定义疫苗的价钱int …… 题解列表 2022年11月17日 0 点赞 0 评论 172 浏览 评分:0.0
题解 1798: 汪汪与打针(C) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int m(int a,int b) //计数函数{ int i,x=120,s=a; //i是最后的次数,x是本次的花费…… 题解列表 2023年02月15日 0 点赞 0 评论 124 浏览 评分:0.0
汪汪与打针(乐,爱打狂犬疫苗是吧) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b,i=0;//i是打的疫苗数 while(~scanf("%d%d",&a,&b)…… 题解列表 2023年10月27日 0 点赞 0 评论 115 浏览 评分:0.0
if语句循环比较难 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",…… 题解列表 2025年03月30日 0 点赞 0 评论 112 浏览 评分:0.0