Submission #814929


Source Code Expand

Copy
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");
		Arrays.sort(line);
		int A = Integer.parseInt(line[0]);
		int B = Integer.parseInt(line[1]);
		int C = Integer.parseInt(line[2]);
		
		if(A==5 && B==5 && C==7){
			System.out.println("YES");
		}else{
			System.out.println("NO");
		}
	}
}

Submission Info

Submission Time
Task A - Iroha and Haiku (ABC Edition)
User interrupter
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 551 Byte
Status AC
Exec Time 157 ms
Memory 8020 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 5
Set Name Test Cases
Sample subtask0_sample_01.txt, subtask0_sample_02.txt
All subtask0_sample_01.txt, subtask0_sample_02.txt, subtask1_X_575.txt, subtask1_X_577.txt, subtask1_X_755.txt
Case Name Status Exec Time Memory
subtask0_sample_01.txt AC 157 ms 8020 KB
subtask0_sample_02.txt AC 156 ms 7892 KB
subtask1_X_575.txt AC 152 ms 7888 KB
subtask1_X_577.txt AC 152 ms 7888 KB
subtask1_X_755.txt AC 157 ms 7888 KB