5 条题解

  • 0
    @ 2023-8-24 11:03:01
    #include<bits/stdc++.h>
    using namespace std;
    int f(int day,int n){
    	if(day==1) return n;
    	f(day-1,2*(n+2));
    }
    
    int main(){
    	int n;
    	cin>>n;
    	cout<<f(7,n);
    	return 0;
    }
    // 
    //     	   __  __          __  
    //  	  / / / /_  ______/ /________ 
    //       / /_/ / / / / __  / ___/ __ \
    //  	/ __  / /_/ / /_/ / /  / /_/ /
    //     /_/ /_/\__, /\__,_/_/   \____/ 
    //           /____/                   
    //
    

    信息

    ID
    685
    时间
    1000ms
    内存
    16MiB
    难度
    5
    标签
    递交数
    77
    已通过
    31
    上传者