QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#45256 | #4563. Radio Towers | MaMengQi | Compile Error | / | / | C++17 | 1.3kb | 2022-08-22 15:36:30 | 2022-08-22 15:36:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int max_towers(int, int, int)’: answer.code:44:38: error: expected ‘;’ before ‘{’ token 44 | if(a[mid]<=(a[pos]-D){ | ^ | ; answer.code:47:18: error: expected primary-expression before ‘else’ 47 | }else rS = mid+1; | ^~~~ answer.code:47:18: error: expected ‘)’ before ‘else’ 47 | }else rS = mid+1; | ^~~~ | ) answer.code:44:19: note: to match this ‘(’ 44 | if(a[mid]<=(a[pos]-D){ | ^