QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#225386#7521. Find the GapPetroTarnavskyi#Compile Error//C++17267b2023-10-24 16:33:582023-10-24 16:33:59

Judging History

你现在查看的是最新测评结果

  • [2023-10-24 16:33:59]
  • 评测
  • [2023-10-24 16:33:58]
  • 提交

answer

i = 0
f[i] 4
dp[i] 
1 0 0 
i = 1
f[i] 1
dp[i] 
1 1 1 
i = 2
f[i] 4
dp[i] 
2 3 5 
i = 3
f[i] 1
dp[i] 
3 6 14 
i = 4
f[i] 2
dp[i] 
6 15 43 
i = 5
f[i] 3
dp[i] 
8 26 92 
i = 6
f[i] 1
dp[i] 
16 60 244 
i = 7
f[i] 0
dp[i] 
24 110 532 
532

Details

answer.code:1:1: error: ‘i’ does not name a type
    1 | i = 0
      | ^