Submission #169060


Source Code Expand

Copy
#include <iostream>
#include <algorithm>
#include <map>
#include <stack>
#include <string.h>
#include <queue>
#include <string>
#define MAX_N 100000
#define MOD 1000000007
using namespace std; 


int main () {
	int a, b;
	cin >> a >> b;
	cout << b - a + 1 << endl;
}

Submission Info

Submission Time
Task A - アルバム
User bedlover
Language C++ (G++ 4.6.4)
Score 100
Code Size 284 Byte
Status
Exec Time 21 ms
Memory 924 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 100 / 100 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 21 ms 764 KB
case_02.txt 21 ms 800 KB
case_03.txt 21 ms 704 KB
case_04.txt 21 ms 804 KB
case_05.txt 21 ms 804 KB
case_06.txt 20 ms 924 KB
case_07.txt 21 ms 700 KB
case_08.txt 20 ms 800 KB
case_09.txt 21 ms 800 KB
case_10.txt 21 ms 800 KB
case_11.txt 21 ms 676 KB
case_12.txt 21 ms 804 KB
case_13.txt 20 ms 800 KB
case_14.txt 21 ms 804 KB
case_15.txt 21 ms 924 KB
sample_01.txt 21 ms 800 KB
sample_02.txt 20 ms 796 KB