QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#606765#1393. Skierowany graf acykliczny [C]3un_larryfuncCompile Error//C++20992b2024-10-03 12:04:182024-10-03 12:04:19

Details

answer.code:142:35: error: extended character 、 is not valid in an identifier
  142 |   for (int i=1; i<=n; i++%3?:k/=3)、
      |                                   ^
answer.code: In function ‘int main()’:
answer.code:142:35: error: ‘、’ was not declared in this scope
  142 |   for (int i=1; i<=n; i++%3?:k/=3)、
      |                                   ^~
answer.code:137:9: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  137 |   scanf ("%u", &k);
      |   ~~~~~~^~~~~~~~~~