Submission #172324


Source Code Expand

Copy
/*
 * 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.
 */

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
        
        int sisetu[][] = new int[1000][1000];
        String foo[] = new String[1000];
        int max = 0;
        
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] str2 = new String[3];
        str2 = str.split(" ", 3);
        int R,C,D;
        R = Integer.parseInt(str2[0]);
        C = Integer.parseInt(str2[1]);
        D = Integer.parseInt(str2[2]);
        
        //マップ生成
        for(int i = 0; i < R ; i++){
            
            str = br.readLine();
            foo = str.split(" ",C);
            
            for(int j = 0; j < C ; j++){
                sisetu[i][j] = Integer.parseInt(foo[j]);
            }
           
        }
        
        //捜査
        
        for(int i = 0; i <= R ; i++){
            for(int j = 0; j <= C; j++){
                if(true){
                    if(max < sisetu[i][j]){
                        max = sisetu[i][j];
                    }
                }
            }
        }
        
        System.out.println(max);
        
        
    }
    
}

Submission Info

Submission Time
Task B - 謎の人物X
User shobonara
Language Java (OpenJDK 1.7.0)
Score 0
Code Size 1683 Byte
Status WA
Exec Time 722 ms
Memory 38512 KB

Judge Result

Set Name Sample Subtask1 Subtask2
Score / Max Score 0 / 0 0 / 60 0 / 40
Status
AC × 1
WA × 2
AC × 8
WA × 10
AC × 7
WA × 12
RE × 11
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
Subtask1 sample_01.txt, sample_02.txt, sample_03.txt, subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt
Subtask2 subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt, subtask2_01.txt, subtask2_02.txt, subtask2_03.txt, subtask2_04.txt, subtask2_05.txt, subtask2_06.txt, subtask2_07.txt, subtask2_08.txt, subtask2_09.txt, subtask2_10.txt, subtask2_11.txt, subtask2_12.txt, subtask2_13.txt, subtask2_14.txt, subtask2_15.txt
Case Name Status Exec Time Memory
sample_01.txt WA 420 ms 24628 KB
sample_02.txt AC 403 ms 24668 KB
sample_03.txt WA 399 ms 24628 KB
subtask1_01.txt WA 403 ms 24616 KB
subtask1_02.txt AC 397 ms 24624 KB
subtask1_03.txt WA 414 ms 24624 KB
subtask1_04.txt AC 473 ms 28520 KB
subtask1_05.txt WA 401 ms 24596 KB
subtask1_06.txt WA 430 ms 25392 KB
subtask1_07.txt WA 476 ms 28172 KB
subtask1_08.txt AC 469 ms 28680 KB
subtask1_09.txt WA 493 ms 28880 KB
subtask1_10.txt AC 482 ms 28484 KB
subtask1_11.txt AC 483 ms 28700 KB
subtask1_12.txt WA 500 ms 28532 KB
subtask1_13.txt AC 479 ms 28468 KB
subtask1_14.txt WA 488 ms 28660 KB
subtask1_15.txt AC 483 ms 28744 KB
subtask2_01.txt RE 421 ms 25648 KB
subtask2_02.txt RE 430 ms 25776 KB
subtask2_03.txt WA 638 ms 38316 KB
subtask2_04.txt WA 460 ms 27952 KB
subtask2_05.txt WA 525 ms 36324 KB
subtask2_06.txt WA 558 ms 37132 KB
subtask2_07.txt RE 661 ms 38512 KB
subtask2_08.txt RE 708 ms 38296 KB
subtask2_09.txt RE 703 ms 37016 KB
subtask2_10.txt RE 716 ms 37428 KB
subtask2_11.txt RE 679 ms 37392 KB
subtask2_12.txt RE 721 ms 37432 KB
subtask2_13.txt RE 709 ms 37268 KB
subtask2_14.txt RE 719 ms 37572 KB
subtask2_15.txt RE 722 ms 37440 KB