last of div 4
This commit is contained in:
parent
1e18e29af4
commit
78ead22797
80 changed files with 2214 additions and 11 deletions
|
|
@ -105,7 +105,7 @@ void solve() {
|
|||
|
||||
u64 w = y2 - y1 + 1;
|
||||
|
||||
u64 ans = w * (sr - (u64)x1 * s) + (sc - (u64)y1 * s) + s;
|
||||
u62 ans = w * (sr - (u64)x1 * s) + (sc - (u64)y1 * s) + s;
|
||||
|
||||
cout << ans << " \n"[i == q - 1];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue