QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#30585 | #3013. XOR Sequences | smax# | Compile Error | / | / | C++23 | 1.2kb | 2022-04-30 05:47:29 | 2022-05-18 04:26:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘long long int func(const std::vector<long long int>&)’: answer.code:31:71: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’ 31 | return (2*func(vector<int>(val.begin(), val.begin() + n / 2)))%(1e9+7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | | long long int double answer.code:41:113: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’ 41 | return (func(vector<int>(val.begin(), val.begin() + n / 2)) * func(vector<int>(val.begin()+n/2, val.end())))%(1e9+7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | | long long int double