A. Two Rabbits (手速题) #include<bits/stdc++.h> using namespace std; typedef long long ll; int main(){ int t; cin>>t; while(t--){ ll x,y,a,b; cin>>x>>y>>a>>b; ll sum = a+b; ){ cout<<(y-x)/sum<<endl; } else{ cou…
/*4.非Animal呢?为何不写个万用类 * 类Object是JAVA里多有类的源头/父类*/ import java.util.*; class Animalb{ String name; void eat(){ System.out.println("动物在吃东西啦"); } } class Doga extends Animalb{} class Cata extends Animalb{} public class FourFei { public static void m…