QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#438126 | #8726. Magic Show | hyforces# | Compile Error | / | / | C++20 | 1.6kb | 2024-06-10 09:41:44 | 2024-06-10 09:41:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Bob.code: In function ‘std::pair<__int128, __int128> CRT(__int128, __int128, __int128, __int128)’: Bob.code:23:17: error: too few arguments to function ‘__int128 safe(__int128, __int128)’ 23 | return {safe(a1+x*(a2-a1)/g%(x2/g)*x1),nm}; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Bob.code:16:5: note: declared here 16 | Int safe(Int x,Int m){ | ^~~~ Bob.code:23:46: error: could not convert ‘{<expression error>, nm}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<__int128, __int128>’ 23 | return {safe(a1+x*(a2-a1)/g%(x2/g)*x1),nm}; | ^ | | | <brace-enclosed initializer list>