diff --git a/25xxx/25628.cpp b/25xxx/25628.cpp new file mode 100644 index 00000000..25bcd928 --- /dev/null +++ b/25xxx/25628.cpp @@ -0,0 +1,17 @@ +#include +#include +using namespace std; + +void solve(void) { + int a, b; cin >> a >> b; + + cout << min(a/2, b); +} + +int main(void) { + ios::sync_with_stdio(false); + cin.tie(nullptr); cout.tie(nullptr); + + solve(); + return 0; +} \ No newline at end of file