汪汪与打针 (C语言代码) 摘要:参考代码:#include <stdio.h> #define M 120 #define G 100 int main(void) { int a,b; while(sc…… 题解列表 2017年12月14日 43 点赞 3 评论 1106 浏览 评分:9.9
汪汪与打针 -题解(C语言代码)值得参考 摘要:注意各种情况的判断 尤其是在打完第三针将要打第四针的时候 #include int main() { int a,b,cnt=0; while (…… 题解列表 2019年11月16日 0 点赞 0 评论 642 浏览 评分:9.9
汪汪与打针 -题解(C语言代码)简单易懂噢 摘要:其实只要将每个月打针钱的限制条件找出来就很好想了 ```c #include int main(){ int a,b; while(scanf("%d%d",&a,&b)==2){ …… 题解列表 2020年02月21日 0 点赞 0 评论 680 浏览 评分:9.9
汪汪与打针 -题解(C语言代码)-你读懂题了吗? 摘要:代码不难,不过请仔细阅读题目,不要被什么毛毛狗狗的打扰。 科普一下:妙三多是猫三联疫苗项目的其中一个牌子。三多三多不是许三多,三联就是要打三针吧 那个狂犬疫苗就打一针。 这就说明了这个题,什么再…… 题解列表 2020年03月12日 0 点赞 2 评论 859 浏览 评分:9.9
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#define M 120 //妙三多的价格 #define Y 100 //疫苗的价格 #include <stdio.h> int main(v…… 题解列表 2017年12月04日 0 点赞 0 评论 1029 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:#include <stdio.h> int main() { int a,b,m=0,n=0; while(scanf("%d%d",&a,&b)!=EOF) { if(a<…… 题解列表 2017年12月11日 0 点赞 0 评论 975 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,m=0,n=0; while(scanf("%d%d",&a,&b)!=EOF) { if…… 题解列表 2017年12月19日 0 点赞 0 评论 771 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,i=0; while(scanf("%d %d",&a,&b)!=EOF){ while(1)…… 题解列表 2018年07月25日 0 点赞 0 评论 776 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:看清楚题目,用一个变量s保存当前剩下的钱,用变量k保存能按时接种次数,一次次判断即可。具体看代码,解释很清楚。 注意事项:接种完一次之后才把本月挣得钱加到s中。参考代码:#include <…… 题解列表 2018年09月12日 1 点赞 0 评论 786 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b; int t = 0,m = 2,c = 1; …… 题解列表 2019年01月14日 0 点赞 0 评论 674 浏览 评分:0.0