Skip to content

Commit 0cce5f8

Browse files
committed
cf round problems a, b, c, d, e
1 parent 8853317 commit 0cce5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Codeforces/1472E.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void solve() {
104104
ans[a[i].id] = -1;
105105
}
106106
each(pr, ans)
107-
cout << (pr > 0 ? pr + 1 : pr) << " ";
107+
cout << (pr >= 0 ? pr + 1 : pr) << " ";
108108
cout << "\n";
109109
}
110110

0 commit comments

Comments
 (0)