QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#116280#6661. 야유회DianasDog#Compile Error//C++141.5kb2023-06-28 12:57:552024-05-31 18:27:28

Details

answer.code:3:1: error: ‘bitset’ does not name a type
    3 | bitset<10000005> ok;
      | ^~~~~~
answer.code:4:1: error: ‘mt19937’ does not name a type
    4 | mt19937 rnd(22625025);
      | ^~~~~~~
answer.code: In function ‘void init()’:
answer.code:24:28: error: ‘rnd’ was not declared in this scope
   24 |         shuffle(p,p+100000,rnd);
      |                            ^~~
answer.code:24:9: error: ‘shuffle’ was not declared in this scope
   24 |         shuffle(p,p+100000,rnd);
      |         ^~~~~~~
answer.code:30:20: error: ‘ok’ was not declared in this scope
   30 |                 if(ok[i]) continue;
      |                    ^~