fmt
This commit is contained in:
parent
2b6b1ee2bb
commit
ade69a563e
6
main.cpp
6
main.cpp
@ -266,7 +266,11 @@ void printScores(int *points, char blacklist) {
|
|||||||
for (int i = 0; i < 26; i++) {
|
for (int i = 0; i < 26; i++) {
|
||||||
if (arr[i].second.first != -1) {
|
if (arr[i].second.first != -1) {
|
||||||
pt arr[i].first << ": " << arr[i].second.first << " boxes" << (
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user