#include <iostream>
#include <set>
#include <stack>
#include <vector>
#include <algorithm>
#include <string>
#include <iomanip>
#include <cmath>
using namespace std;
#define ll long long
#define ld long double
#define vi vector<int>
#define elif else if
#define ull unsigned long long
#define ui unsigned int
#define zelenskiy ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define fori for (int i = 0; i < n; ++i)
#define forj for (int j = 0; j < n; ++j)
#define wt while(true)
int umnoj(int a){
return a*3;
}
int main() {
int a;
cin >> a;
cout << umnoj(a);
Объяснение:
#include <iostream>
#include <set>
#include <stack>
#include <vector>
#include <algorithm>
#include <string>
#include <iomanip>
#include <cmath>
using namespace std;
#define ll long long
#define ld long double
#define vi vector<int>
#define elif else if
#define ull unsigned long long
#define ui unsigned int
#define zelenskiy ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define fori for (int i = 0; i < n; ++i)
#define forj for (int j = 0; j < n; ++j)
#define wt while(true)
int umnoj(int a){
return a*3;
}
using namespace std;
int main() {
int a;
cin >> a;
cout << umnoj(a);
}
Объяснение: