1 条题解

  • 0
    @ 2026-2-7 11:03:55
    #include<bits/stdc++.h>
    using namespace std;
    struct food{
    	int a,b,c;
    	
    }fd[51];
    int main(){ //
    	int n;
    	cin>>n;
    	for(int i=0;i<n;i++){
    		cin>>fd[i].a>>fd[i].b>>fd[i].c;
    		cout<<fd[i].a+fd[i].b+fd[i].c<<endl;
    	}
    	
    	return 0;
    }
    
    • 1

    信息

    ID
    2060
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    (无)
    递交数
    8
    已通过
    4
    上传者