竞赛
考级
entj
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int two = 0,three = 1; for(int i = 1;i < n;i++){ int th = three; three = two + three; two = two + th * 2; } cout << two * 2 + three * 3; return 0; }
AAA秋褲批發lexora_哥
༺ཌ𝓒𝓾𝓷𝓽𝓪𝓲ད༻