QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#45143#4563. Radio TowersZhaoZiLongCompile Error//C++17492b2022-08-22 14:19:092022-08-22 14:19:09

Details

answer.code: In function ‘int max_towers(int, int, int)’:
answer.code:26:18: error: ‘N’ was not declared in this scope
   26 |         if (k == N-1 || k == 0) return 1;
      |                  ^