#include<bits/stdc++.h> using namespace std; int main(){ int n,l=0,g=0,y; cin>>n; while(g!=n){ l++; g++; if(g%3==0){ g++; } } cout<<l; return 0; }
明明时间复杂度已经很低了啊qwq 为什么还有TLEqwq