QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#215061 | #5606. A Musical Question | HuangHanSheng | Compile Error | / | / | C++17 | 1.6kb | 2023-10-15 02:50:15 | 2023-10-15 02:50:15 |
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:46:13: error: expected ‘,’ or ‘;’ before ‘int’ 46 | int best_diff = abs(best.first - best.second); | ^~~ answer.code:48:70: error: ‘best_diff’ was not declared in this scope 48 | if (total > best_total || (total == best_total && diff < best_diff)) { | ^~~~~~~~~