QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#531230#9221. Missing Boundariesucup-team162#Compile Error//C++202.2kb2024-08-24 19:22:392024-08-24 19:22:40

Details

answer.code:2:9: error: ‘pair’ does not name a type
    2 | typedef pair<ULL, ULL> PULL;
      |         ^~~~
answer.code:4:7: error: ‘LL’ does not name a type; did you mean ‘ULL’?
    4 | const LL LINF = 1e18;
      |       ^~
      |       ULL
answer.code:7:1: error: ‘VI’ does not name a type
    7 | VI g[N];
      | ^~
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:5: error: ‘PII’ was not declared in this scope
    9 | map<PII, PULL> dp;
      |     ^~~
answer.code:9:10: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
    9 | map<PII, PULL> dp;
      |          ^~~~
      |          ULL
answer.code:9:1: error: ‘map’ does not name a type
    9 | map<PII, PULL> dp;
      | ^~~
answer.code:10:5: error: ‘PII’ was not declared in this scope
   10 | map<PII, int> dpLen;
      |     ^~~
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:5: error: ‘PII’ was not declared in this scope
answer.code:10:1: error: ‘map’ does not name a type
   10 | map<PII, int> dpLen;
      | ^~~
answer.code: In function ‘void dfsCheck(int, int)’:
answer.code:15:23: error: ‘g’ was not declared in this scope
   15 |         for (int to : g[v])
      |                       ^
answer.code:21:25: error: ‘cout’ was not declared in this scope
   21 |                         cout << "NIE\n";
      |                         ^~~~
answer.code:22:25: error: ‘exit’ was not declared in this scope
   22 |                         exit(0);
      |                         ^~~~
answer.code:1:1: note: ‘exit’ is defined in header ‘<cstdlib>’; did you forget to ‘#include <cstdlib>’?
  +++ |+#include <cstdlib>
    1 | typedef unsigned long long ULL;
answer.code: At global scope:
answer.code:28:1: error: ‘PULL’ does not name a type; did you mean ‘ULL’?
   28 | PULL merge(const vector<PULL>& sons)
      | ^~~~
      | ULL
answer.code:44:1: error: ‘PULL’ does not name a type; did you mean ‘ULL’?
   44 | PULL dfs1(int v, int p)
      | ^~~~
      | ULL
answer.code: In function ‘void dfs2(int, int)’:
answer.code:68:24: error: ‘PULL’ was not declared in this scope; did you mean ‘ULL’?
   68 |                 vector<PULL> sons;
      |                        ^~~~
      |                        ULL
answer.code:68:17: error: ‘vector’ was not declared in this scope
   68 |                 vector<PULL> sons;
      |                 ^~~~~~
answer.code:68:30: error: ‘sons’ was not declared in this scope
   68 |                 vector<PULL> sons;
      |                              ^~~~
answer.code:69:30: error: ‘g’ was not declared in this scope
   69 |               ...