汪汪与打针 (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 评论 906 浏览 评分: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 评论 709 浏览 评分:0.0
汪汪与打针 -题解(Python代码) 摘要:本题直接使用if嵌套即可。笔者此处没有使用循环。 ```python x=input() while x: a,b=map(int,x.split()) cash=a …… 题解列表 2019年09月07日 0 点赞 0 评论 885 浏览 评分:0.0
汪汪与打针 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,i=2,sum; while(cin>>…… 题解列表 2018年08月07日 0 点赞 0 评论 629 浏览 评分:0.0