This commit is contained in:
Sandipsinh Rathod 2024-10-10 20:04:33 -04:00
parent 2b6b1ee2bb
commit ade69a563e

@ -266,7 +266,11 @@ void printScores(int *points, char blacklist) {
for (int i = 0; i < 26; i++) {
if (arr[i].second.first != -1) {
pt arr[i].first << ": " << arr[i].second.first << " boxes" << (
(i == 25 || arr[i].second.second) && arr[i].first != blacklist ? arr[i].second.second ? " (tie)\n": " (win)\n" : nl);
(i == 25 || arr[i].second.second) && arr[i].first != blacklist
? arr[i].second.second
? " (tie)\n"
: " (win)\n"
: nl);
}
}