Submission #768597

#TimeUsernameProblemLanguageResultExecution timeMemory
768597mannshah1211Strange Device (APIO19_strange_device)C++14
0 / 100
2025 ms14772 KiB
// I'm back in action #include <bits/stdc++.h> using namespace std; #define int long long #define all(x) x.begin(), x.end() #define f first #define s second #define pb push_back #define forn(i, n) for (int i = 0; i < n; i++) int32_t main() { int n, a, b; cin >> n >> a >> b; for (int i = 0; i < n; i++) { int l, r; cin >> l >> r; cout << r - l + 1 << '\n'; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...