开始 2024-01-27 14:30:00

冬令营1.27基础班下午

结束 2024-01-27 18:30:00
Contest is over.
当前 2025-05-03 18:50:39


include <bits/stdc++.h>

using namespace std; int main() { unsigned long long F[75]; F[0]=0; F[1]=1; F[2]=2; F[3]=4; for(int i=4; i<=73; i+=1) F[i]=F[i-3]+F[i-2]+F[i-1]; for(int n; scanf("%d",&n)!=EOF;) printf("%llu\n",F[n]); return 0; }


AB11  •  1年前

比赛已结束。