QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141771#6661. 야유회alch07Compile Error//C++141.3kb2023-08-17 23:43:112023-08-17 23:43:14

Details

answer.code: In function ‘void init()’:
answer.code:14:15: error: ‘__builtin__popcount’ was not declared in this scope; did you mean ‘__builtin_popcount’?
   14 |         while(__builtin__popcount(cur) != 10){
      |               ^~~~~~~~~~~~~~~~~~~
      |               __builtin_popcount
answer.code:19:9: error: redeclaration of ‘int cur’
   19 |     int cur = 0;
      |         ^~~
answer.code:12:9: note: ‘int cur’ previously declared here
   12 |     int cur = 0;
      |         ^~~
answer.code:26:9: error: redeclaration of ‘int cur’
   26 |     int cur = -0;
      |         ^~~
answer.code:12:9: note: ‘int cur’ previously declared here
   12 |     int cur = 0;
      |         ^~~
answer.code: In function ‘int diff(int, int)’:
answer.code:38:12: error: ‘log2’ was not declared in this scope
   38 |     return log2(d);
      |            ^~~~