mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 03:31:59 +00:00
parent
feea367892
commit
f1d4d73a22
24
S2OJ/1618/1618.cpp
Normal file
24
S2OJ/1618/1618.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
#include <iostream>
|
||||
|
||||
using std::cin;
|
||||
using std::cout;
|
||||
const char endl = '\n';
|
||||
|
||||
int main() {
|
||||
std::ios::sync_with_stdio(false);
|
||||
cin.tie(nullptr);
|
||||
|
||||
int t;
|
||||
|
||||
cin >> t;
|
||||
|
||||
while (t--) {
|
||||
int l, r;
|
||||
|
||||
cin >> l >> r;
|
||||
|
||||
cout << r - l + 1 << endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
BIN
S2OJ/1618/data/data1.in
(Stored with Git LFS)
Normal file
BIN
S2OJ/1618/data/data1.in
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
S2OJ/1618/data/data1.out
(Stored with Git LFS)
Normal file
BIN
S2OJ/1618/data/data1.out
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
S2OJ/1618/data/problem.conf
(Stored with Git LFS)
Normal file
BIN
S2OJ/1618/data/problem.conf
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user