QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#388242#7986. 游戏MaMengQiCompile Error//C++98672b2024-04-13 14:10:552024-04-13 14:10:56

Details

answer.code: In function ‘int dfs(int, int)’:
answer.code:14:40: error: expected ‘)’ before ‘;’ token
   14 |         for(int i=0;i<adj[u].size();i++;)
      |            ~                           ^
      |                                        )
answer.code:14:41: error: expected primary-expression before ‘)’ token
   14 |         for(int i=0;i<adj[u].size();i++;)
      |                                         ^