QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#598962 | #4219. Insects | gg_gong | Compile Error | / | / | C++20 | 4.7kb | 2024-09-29 00:14:19 | 2024-09-29 00:14:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:180:44: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive] 180 | int tmp=unique(val+1,val+num+1)-num-1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int* answer.code:185:45: error: invalid conversion from ‘int*’ to ‘std::array<int, 2>::value_type’ {aka ‘int’} [-fpermissive] 185 | cnt[1]=unique(vall+1,vall+num+1)-num-1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int*