#includeusing namespace std;int main(){ int n,m; unsigned long long int a,b,c,sum; while((scanf("%d",&n)!=EOF)) { for(int i=0;i >m; sum=0; for(int i=0;i >a>>b>>c; sum+=a*c; } cout< <
本文共 401 字,大约阅读时间需要 1 分钟。
#includeusing namespace std;int main(){ int n,m; unsigned long long int a,b,c,sum; while((scanf("%d",&n)!=EOF)) { for(int i=0;i >m; sum=0; for(int i=0;i >a>>b>>c; sum+=a*c; } cout< <
转载于:https://www.cnblogs.com/superxuezhazha/p/5282735.html