new file: B3984.cpp

This commit is contained in:
hanyixuanten committed 2026-10-26 12:03:25 +00:00
1 parent 4f2e9e42b1
commit cd0ec40cf0
2 files changed
+76

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#include<bits/stdc++.h>
using namespace std;
long long x, y;
int main() {
scanf("%lld%lld", &x, &y);
printf("%lld\n", (long long) ceil((y - x) / (long double)2.0));
}