Submission #168824


Source Code Expand

Copy
//
//  main.cpp
//  ARCH
//
//  Created by 鹿島 悠 on 2014/04/20.
//  Copyright (c) 2014年 鹿島 悠. All rights reserved.
//

#include <iostream>
#include <queue>
#include <set>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <stack>
#include <math.h>

typedef long long ll;
using namespace std;



int main(int argc, const char * argv[])
{
    int S,T;
    cin >> S >> T;
    cout << (T - S + 1) << endl;
}


Submission Info

Submission Time
Task A - アルバム
User nida_001
Language C++11 (GCC 4.8.1)
Score 100
Code Size 480 Byte
Status
Exec Time 49 ms
Memory 920 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 23 ms 920 KB
case_02.txt 25 ms 912 KB
case_03.txt 21 ms 920 KB
case_04.txt 21 ms 920 KB
case_05.txt 21 ms 716 KB
case_06.txt 21 ms 916 KB
case_07.txt 22 ms 916 KB
case_08.txt 21 ms 916 KB
case_09.txt 21 ms 920 KB
case_10.txt 21 ms 864 KB
case_11.txt 49 ms 792 KB
case_12.txt 23 ms 920 KB
case_13.txt 21 ms 920 KB
case_14.txt 23 ms 916 KB
case_15.txt 21 ms 796 KB
sample_01.txt 23 ms 920 KB
sample_02.txt 21 ms 920 KB