Submission #168582
Source Code Expand
#include <cassert> #include <cctype> #include <cmath> #include <climits> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <algorithm> #include <bitset> #include <deque> #include <functional> #include <iterator> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> #include <fstream> #include <iostream> #include <sstream> #include <iomanip> using namespace std; typedef pair<int, int> pint; typedef vector<int> vint; typedef long long ll; #define ALL(c) (c).begin(),(c).end() #define RALL(c) (c).rbegin(),(c).rend() #define SORT(c) sort(ALL(c)) #define FOR(i,a,b) for(int i=(a);i<(b);++i) #define REP(i,n) for(int i=0;i<(n);++i) #define NEXTP(c) next_permutation(ALL(c)) #define SUM(c) accumulate(ALL(c),0) #define MP( a, b ) make_pair( ( a ), ( b ) ) #define DUMP(x) cerr << #x << " = " << (x) << endl; #define INF 1000000000 // 10^9 const double EPS = 1e-10; //Template End int main(){ int a,b; cin>>a>>b; cout<<b-a+1<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - アルバム |
User | wat_shun |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 1163 Byte |
Status | AC |
Exec Time | 30 ms |
Memory | 1036 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
All | sample_01.txt, sample_02.txt, case_01.txt, case_02.txt, case_03.txt, case_04.txt, case_05.txt, case_06.txt, case_07.txt, case_08.txt, case_09.txt, case_10.txt, case_11.txt, case_12.txt, case_13.txt, case_14.txt, case_15.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
case_01.txt | AC | 24 ms | 920 KB |
case_02.txt | AC | 26 ms | 928 KB |
case_03.txt | AC | 24 ms | 924 KB |
case_04.txt | AC | 25 ms | 1036 KB |
case_05.txt | AC | 25 ms | 924 KB |
case_06.txt | AC | 23 ms | 1036 KB |
case_07.txt | AC | 26 ms | 928 KB |
case_08.txt | AC | 25 ms | 924 KB |
case_09.txt | AC | 23 ms | 1036 KB |
case_10.txt | AC | 26 ms | 1020 KB |
case_11.txt | AC | 24 ms | 932 KB |
case_12.txt | AC | 25 ms | 924 KB |
case_13.txt | AC | 25 ms | 1020 KB |
case_14.txt | AC | 30 ms | 992 KB |
case_15.txt | AC | 27 ms | 928 KB |
sample_01.txt | AC | 28 ms | 992 KB |
sample_02.txt | AC | 25 ms | 988 KB |