QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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){ | ^