QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#431594#5523. Graph Problem With Small $n$yoy68Compile Error//C++171.1kb2024-06-05 19:36:532024-06-05 19:36:53

Details

answer.code: In function ‘int main()’:
answer.code:38:37: error: ‘s’ was not declared in this scope
   38 |                 For(j, 0, n - 1) if(s[j] == '1') e[i] |= (1 << j);
      |                                     ^
answer.code:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   37 |                 scanf("%s", ch);
      |                 ~~~~~^~~~~~~~~~