前言
hello大家好,我是文宇。
正文
3021
#include<iostream>
using namespace std;
int a,b,c,d;
int main(){
cin>>a>>b>>c>>d;
cout<<a+b+c+d;
return 0;
}
3022
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<20-a-b-c;
return 0;
}
3023
#include<iostream>
using namespace std;
int a,b,c;
int main(){
cin>>a>>b>>c;
cout<<a+a*b+a*b*c;
return 0;
}
3024
#include<bits/stdc++.h>
using namespace std;
int a,b;
int main(){
cin>>a>>b;
cout<<"总的棵数:"<<a*b;
return 0;
}
3025
#include<bits/stdc++.h>
using namespace std;
int n,a,b,c;
int main(){
cin>>n>>a>>b>>c;
cout<<n-a-(b-c);
return 0;
}
标签:std,cout,int,题解,3025,namespace,奥赛,using,main
From: https://blog.csdn.net/2401_84159494/article/details/141278754