A比较 和 的大小关系即可。注意要开 long long。时间复杂度 。 #include<bits/stdc++.h> using namespace std; long long a,b; int main() { cin>>a>>b; if(a/b>a%b)puts("niuniu eats less than others"); if(a/b<a%b)puts("niuniu eats more than others"); if(a/b==a%b)puts("same"); return 0; } B将玩具从大到小排序。每...