QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#159539 | #5540. City Hall | ntu_vjudge_1 | Compile Error | / | / | C++17 | 3.3kb | 2023-09-02 18:01:58 | 2023-09-02 18:02:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:1: error: ‘include’ does not name a type 1 | include <bits/stdc++.h> | ^~~~~~~ answer.code:11:13: error: ‘int64_t’ does not name a type 11 | mutable int64_t a, b, p; | ^~~~~~~ answer.code:1:1: note: ‘int64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? +++ |+#include <cstdint> 1 | include <bits/stdc++.h> answer.code:13:20: error: ‘int64_t’ has not been declared 13 | bool operator<(int64_t x) const { return p < x; } | ^~~~~~~ answer.code: In member function ‘bool Line::operator<(const Line&) const’: answer.code:12:52: error: ‘a’ was not declared in this scope 12 | bool operator<(const Line &rhs) const { return a < rhs.a; } | ^ answer.code:12:60: error: ‘const struct Line’ has no member named ‘a’ 12 | bool operator<(const Line &rhs) const { return a < rhs.a; } | ^ answer.code: In member function ‘bool Line::operator<(int) const’: answer.code:13:46: error: ‘p’ was not declared in this scope 13 | bool operator<(int64_t x) const { return p < x; } | ^ answer.code: At global scope: answer.code:16:30: error: expected template-name before ‘<’ token 16 | struct DynamicHull : multiset<Line, less<>> { | ^ answer.code:16:30: error: expected ‘{’ before ‘<’ token answer.code:16:30: error: expected unqualified-id before ‘<’ token answer.code: In function ‘int main()’: answer.code:8:14: error: ‘ios’ has not been declared 8 | #define spIO ios::sync_with_stdio(false);cin.tie(0) | ^~~ answer.code:46:5: note: in expansion of macro ‘spIO’ 46 | spIO; | ^~~~ answer.code:8:42: error: ‘cin’ was not declared in this scope 8 | #define spIO ios::sync_with_stdio(false);cin.tie(0) | ^~~ answer.code:46:5: note: in expansion of macro ‘spIO’ 46 | spIO; | ^~~~ answer.code:51:5: error: ‘vector’ was not declared in this scope 51 | vector<ll> h(n); | ^~~~~~ answer.code:51:14: error: expected primary-expression before ‘>’ token 51 | vector<ll> h(n); | ^ answer.code:51:16: error: ‘h’ was not declared in this scope 51 | vector<ll> h(n); | ^ answer.code:56:19: error: expected primary-expression before ‘int’ 56 | vector<vector<int>> adj(n); | ^~~ answer.code:61:9: error: ‘adj’ was not declared in this scope 61 | adj[u].push_back(v); | ^~~ answer.code: In lambda function: answer.code:69:18: error: expected primary-expression before ‘>’ token 69 | vector<ll> dis(n, inf); | ^ answer.code:69:20: error: ‘dis’ was not declared in this scope 69 | vector<ll> dis(n, inf); | ^~~ answer.code:70:9: error: ‘set’ was not declared in this scope 70 | set<pair<ll, int>> st; | ^~~ answer.code:70:13: error: ‘pair’ was not declared in this scope 70 | set<pair<ll, int>> st; | ^~~~ answer.code:70:20: error: expected primary-expression before ‘,’ token 70 | set<pair<ll, int>> st; | ^ answer.code:70:22: error: expected primary-expression before ‘int’ 70 | set<pair<ll, int>> st; | ^~~ answer.code:73:9: error: ‘st’ was not declared in this scope; did you mean ‘t’? 73 | st.emplace(0LL, src); | ^~ | t answer.code:78:13: error: ‘tie’ was not declared in this scope 78 | tie(d, u) = p; | ^~~ answer.code:81:24: error: ‘adj’ was not declared in this scope 81 | for (int v:adj[u]){ | ^~~ answer.code: In function ‘int main()’: answer.code:99:16: error: ‘adj’ was not declared in this scope 99 | for (int u:adj[s]){ | ^~~ answer.code:100:15: error: ‘min’ was not declared in this scope; did you mean ‘main’? 100 | ans = min(ans, (ld)dt[u]); | ^~~ | main answer.code:103:16: error: ‘adj’ was not declared in this scope 103 | for (int u:adj[t]){ | ^~~ answer.code:104:15: error: ‘min’ was not declared in this scope; did you mean ‘main’? 104 | ans = min(ans, (ld)ds[u]); | ^~~ | main answer.code:107:21: error: aggregate ‘DynamicHull solve’ has incomplete type and cannot be defined 107 | DynamicHull solve; | ^~~~~ answer.code:108:16: error: expected primary-expression before ‘int’ 108 | vector<int> us; | ^~~ answer.code:109:20: error: ‘adj’ was not declared in this scope 109 | for (int v:a...