QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#544541 | #67. Two Transportations | 5un_xiaomivita_mbox | Compile Error | / | / | C++23 | 4.0kb | 2024-09-02 18:43:39 | 2024-09-02 18:43:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Azer.code: In function ‘void InitA(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’: Azer.code:35:11: error: ‘p’ does not name a type 35 | for(auto p : E[0]) { | ^ Azer.code:38:3: error: expected ‘;’ before ‘cur_mn’ 38 | } | ^ | ; 39 | cur_mn = CINF; | ~~~~~~ Azer.code:40:2: error: expected primary-expression before ‘for’ 40 | for(int i = 0; i < N; ++i) | ^~~ Azer.code:39:16: error: expected ‘)’ before ‘for’ 39 | cur_mn = CINF; | ^ | ) 40 | for(int i = 0; i < N; ++i) | ~~~ Azer.code:35:5: note: to match this ‘(’ 35 | for(auto p : E[0]) { | ^ Azer.code: In function ‘void ReceiveA(bool)’: Azer.code:79:11: error: ‘p’ does not name a type 79 | for(auto p : E[u]) { | ^ Azer.code:82:3: error: expected ‘;’ before ‘cur_mn’ 82 | } | ^ | ; 83 | cur_mn = CINF; | ~~~~~~ Azer.code:84:2: error: expected primary-expression before ‘for’ 84 | for(int i = 0; i < N; ++i) | ^~~ Azer.code:83:16: error: expected ‘)’ before ‘for’ 83 | cur_mn = CINF; | ^ | ) 84 | for(int i = 0; i < N; ++i) | ~~~ Azer.code:79:5: note: to match this ‘(’ 79 | for(auto p : E[u]) { | ^ In file included from grader_Azer.cpp:2: testlib.h: In member function ‘std::vector<T> random_t::distinct(int, T, T)’: testlib.h:997:9: error: ‘uint64_t’ was not declared in this scope; did you mean ‘u_int64_t’? 997 | uint64_t n = to - from + 1; | ^~~~~~~~ | u_int64_t testlib.h:998:30: error: ‘n’ was not declared in this scope 998 | if (uint64_t(size) > n) | ^ testlib.h:1007:32: error: ‘n’ was not declared in this scope 1007 | expected += double(n) / double(n - i + 1); | ^ testlib.h:1009:31: error: ‘n’ was not declared in this scope 1009 | if (expected < double(n)) { | ^ grader_Azer.cpp: In function ‘int main(int, char**)’: grader_Azer.cpp:37:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 37 | char *t = "/dev/null"; | ^~~~~~~~~~~