QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#358639 | #6298. Coloring | ucup-team1965 | Compile Error | / | / | C++17 | 7.3kb | 2024-03-19 21:43:32 | 2024-03-19 21:43:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:19:34: error: stray ‘#’ in program 19 | V.resize(U.size(), -inf);#include <bits/stdc++.h> | ^ answer.code: In function ‘std::vector<long long int> dfs(int, int)’: answer.code:19:35: error: ‘include’ was not declared in this scope 19 | V.resize(U.size(), -inf);#include <bits/stdc++.h> | ^~~~~~~ answer.code:19:44: error: ‘bits’ was not declared in this scope 19 | V.resize(U.size(), -inf);#include <bits/stdc++.h> | ^~~~ answer.code:19:49: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 19 | V.resize(U.size(), -inf);#include <bits/stdc++.h> | ^~~~ | std answer.code:21:1: error: expected primary-expression before ‘using’ 21 | using namespace std; | ^~~~~ answer.code:31:30: error: a function-definition is not allowed here before ‘{’ token 31 | vector<ll> dfs(int u, int p) { | ^ answer.code:51:8: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 51 | ll yeah() { | ^~ answer.code:51:8: note: remove parentheses to default-initialize a variable 51 | ll yeah() { | ^~ | -- answer.code:51:8: note: or replace parentheses with braces to value-initialize a variable answer.code:51:11: error: a function-definition is not allowed here before ‘{’ token 51 | ll yeah() { | ^ answer.code:122:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 122 | ll yeah2() { | ^~ answer.code:122:9: note: remove parentheses to default-initialize a variable 122 | ll yeah2() { | ^~ | -- answer.code:122:9: note: or replace parentheses with braces to value-initialize a variable answer.code:122:12: error: a function-definition is not allowed here before ‘{’ token 122 | ll yeah2() { | ^ answer.code:149:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 149 | int main() { | ^~ answer.code:149:9: note: remove parentheses to default-initialize a variable 149 | int main() { | ^~ | -- answer.code:149:9: note: or replace parentheses with braces to value-initialize a variable answer.code:149:12: error: a function-definition is not allowed here before ‘{’ token 149 | int main() { | ^