Closed Interval
Problem LinkSolution by dudu — 100 pts
Code / Notes
// Source: https://usaco.guide/general/io
#include <bits/stdc++.h>
using namespace std;
int main() {
int l, r;
cin >> l >> r;
cout << r-l+1 << endl;
}
Last updated 4 hours, 52 minutes ago