QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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() { | ^