QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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