E - Nastya and Rice

E - Nastya and Rice 题意: 对于n粒米每粒重量范围a-b,a+b,总重量c-d,c+d。判断是否正确。 思路 根据题意即可。 代码 #include #include using namespace std; int main(){     int t;     cin>>t;     while(t–){         int n,a,b,c,d;         cin>
相关文章
相关标签/搜索