QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#542706 | #8932. Bingo | ucup-team639# | Compile Error | / | / | C++17 | 3.5kb | 2024-09-01 04:22:54 | 2024-09-01 04:22:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:122:18: error: no matching function for call to ‘ckmin(int64_t&, long long int)’ 122 | ckmin(ans, 1ll); | ~~~~~^~~~~~~~~~ answer.code:22:24: note: candidate: ‘template<class T> bool ckmin(T&, const T&)’ 22 | template<class T> bool ckmin(T& a, const T& b) { return a > b ? a=b, true : false; } | ^~~~~ answer.code:22:24: note: template argument deduction/substitution failed: answer.code:122:18: note: deduced conflicting types for parameter ‘const T’ (‘long int’ and ‘long long int’) 122 | ckmin(ans, 1ll); | ~~~~~^~~~~~~~~~