diff --git a/main.cpp b/main.cpp index fa70871..70a5da7 100644 --- a/main.cpp +++ b/main.cpp @@ -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); } }