| 4 | int N, dp[54]; |
| 5 | |
| 6 | int main() { |
| 7 | // ���� |
| 8 | cin >> N; |
| 9 | |
| 10 | // ���I�v��@ �� �����̏o�� |
| 11 | for (int i = 0; i <= N; i++) { |
| 12 | if (i <= 1) dp[i] = 1; |
| 13 | else dp[i] = dp[i - 1] + dp[i - 2]; |
| 14 | } |
| 15 | cout << dp[N] << endl; |
| 16 | return 0; |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected