QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#59773#3846. Link-Cut TreeMaMengQiCompile Error//C++111.6kb2022-11-01 11:35:082022-11-01 11:35:11

Details

answer.code: In function ‘int main()’:
answer.code:28:38: error: ‘scanf_s’ was not declared in this scope; did you mean ‘scanf’?
   28 |         for (int i = 1; i <= m; i++) scanf_s("%d%d", &x[i], &y[i]);
      |                                      ^~~~~~~
      |                                      scanf