Submission #169352


Source Code Expand

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package shobonara;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author Ryota
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        // TODO code application logic here
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String str = reader.readLine();
        String [] strarray = str.split(" ");
        
        System.out.println(Integer.parseInt(strarray[1])-Integer.parseInt(strarray[0])+1);
        
    }
    
}

Submission Info

Submission Time
Task A - アルバム
User shobonara
Language Java (OpenJDK 1.7.0)
Score 0
Code Size 844 Byte
Status RE
Exec Time 472 ms
Memory 20660 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 2
RE × 17
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 RE 422 ms 20660 KB
case_02.txt RE 397 ms 20532 KB
case_03.txt RE 401 ms 20524 KB
case_04.txt RE 399 ms 20652 KB
case_05.txt RE 397 ms 20656 KB
case_06.txt RE 395 ms 20652 KB
case_07.txt RE 404 ms 20660 KB
case_08.txt RE 398 ms 20592 KB
case_09.txt RE 397 ms 20656 KB
case_10.txt RE 402 ms 20660 KB
case_11.txt RE 403 ms 20652 KB
case_12.txt RE 472 ms 20652 KB
case_13.txt RE 407 ms 20660 KB
case_14.txt RE 403 ms 20624 KB
case_15.txt RE 402 ms 20656 KB
sample_01.txt RE 409 ms 20660 KB
sample_02.txt RE 411 ms 20660 KB