QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#236812 | #5422. Perfect Palindrome | HuangHanSheng | Compile Error | / | / | C++17 | 431b | 2023-11-04 10:52:17 | 2023-11-04 10:52:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:16:13: error: macro "rep" requires 2 arguments, but only 1 given 16 | rep(0.25)cnt[i]=0; | ^ answer.code:3: note: macro "rep" defined here 3 | #define rep(l,r) for(int i=1;i<=r;i++) | answer.code:19:13: error: macro "rep" requires 2 arguments, but only 1 given 19 | rep(0.25) res =max(res, cnt[i]); | ^ answer.code:3: note: macro "rep" defined here 3 | #define rep(l,r) for(int i=1;i<=r;i++) | answer.code: In function ‘int main()’: answer.code:16:5: error: ‘rep’ was not declared in this scope 16 | rep(0.25)cnt[i]=0; | ^~~ answer.code:19:8: error: expected ‘;’ before ‘res’ 19 | rep(0.25) res =max(res, cnt[i]); | ^ ~~~ | ; answer.code:22:10: error: expected ‘}’ at end of input 22 | return 0; | ^ answer.code:8:12: note: to match this ‘{’ 8 | int main() { | ^