結果

問題 No.5000 特殊ジャッジテスト(テスト用)
ユーザー uafr_cs
提出日時 2015-05-24 20:59:01
言語 Java
(openjdk 25.0.2)
コンパイル:
javac -encoding UTF8 _filename_
実行:
java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
結果
RE  
実行時間 -
コード長 830 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,120 ms
コンパイル使用メモリ 83,572 KB
実行使用メモリ 46,968 KB
スコア 0
最終ジャッジ日時 2026-03-03 21:46:55
合計ジャッジ時間 3,225 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Scanner;

public class Main {
	
	public static void main(String[] args){
		try(final Scanner output = new Scanner(System.in);
			final Scanner input  = new Scanner(new File(args[0]));
			final Scanner answer = new Scanner(new File(args[1]));
			final Scanner source = new Scanner(new File(args[2]))){
			
			final int N = input.nextInt();
			
			final int output_A = output.nextInt();
			final int output_B = output.nextInt();
			
			while(source.hasNextLine()){
				if(source.nextLine().contains("random")){
					throw new RuntimeException();
				}
			}
			
			if(output_A == 1){
				throw new RuntimeException();
			}
			
		} catch (FileNotFoundException e) {
			new RuntimeException(e);
		}
	}
	
}
0