QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#570026 | #5148. Tree Distance | aaaaa | Compile Error | / | / | C++20 | 5.2kb | 2024-09-17 13:18:55 | 2024-09-17 13:18:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:146:2: error: stray ‘#’ in program 146 | }#include<bits/stdc++.h> | ^ answer.code: In function ‘void add(long long int, long long int, long long int)’: answer.code:29:30: error: expected ‘;’ before ‘first’ 29 | bruh6[tot] = first[x] | ^ | ; 30 | first[x]=tot; | ~~~~~ answer.code: In function ‘int main()’: answer.code:107:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 107 | scanf("%d",&n); | ~^ ~~ | | | | | long long int* | int* | %lld answer.code:109:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 109 | scanf("%d%d%d",&a,&b,&c); | ~^ ~~ | | | | int* long long int* | %lld answer.code:109:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] 109 | scanf("%d%d%d",&a,&b,&c); | ~^ ~~ | | | | int* long long int* | %lld answer.code:109:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] 109 | scanf("%d%d%d",&a,&b,&c); | ~^ ~~ | | | | int* long long int* | %lld answer.code:124:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 124 | scanf("%d",&q); | ~^ ~~ | | | | | long long int* | int* | %lld answer.code:126:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 126 | scanf("%d%d",&a,&b); | ~^ ~~ | | | | int* long long int* | %lld answer.code:126:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] 126 | scanf("%d%d",&a,&b); | ~^ ~~ | | | | int* long long int* | %lld answer.code: At global scope: answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declared in this scope 146 | }#include<bits/stdc++.h> | ^~~~ answer.code:146:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 146 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:146:11: error: ‘bits’ was not declar...