QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#98064 | #2920. Ultimate Binary Watch | GuanYunChang | Compile Error | / | / | C++98 | 2.3kb | 2023-04-19 05:18:06 | 2023-04-19 05:18:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void print(std::vector<long long int>&)’: answer.code:27:14: error: ‘x’ does not name a type 27 | for(auto x : v) | ^ answer.code:28:26: error: expected ‘;’ before ‘cout’ 28 | cout << x << ' '; | ^ | ; 29 | cout << endl; | ~~~~ answer.code:30:1: error: expected primary-expression before ‘}’ token 30 | } | ^ answer.code:29:18: error: expected ‘)’ before ‘}’ token 29 | cout << endl; | ^ | ) 30 | } | ~ answer.code:27:8: note: to match this ‘(’ 27 | for(auto x : v) | ^ answer.code:30:1: error: expected primary-expression before ‘}’ token 30 | } | ^ answer.code: In function ‘int main()’: answer.code:46:21: error: ‘>>’ should be ‘> >’ within a nested template argument list 46 | vector<vector<char>>h(4,vector<char>(2 , '.')),m(4,vector<char>(2,'.')); | ^~ | > >