题解 1798: 汪汪与打针

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

汪汪与打针 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){  int a,b,m=0,n=0; while(scanf("%d%d",&a,&b)!=EOF) {  if……

汪汪与打针 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){    int a,b,i=2,sum;    while(cin>>……