Submission #3629294


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		if (s.indexOf("a") != -1 && s.indexOf("b") != -1 && s.indexOf("c") != -1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
}

Submission Info

Submission Time
Task A - abc of ABC
User kurita
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 343 Byte
Status AC
Exec Time 94 ms
Memory 23124 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 12
Set Name Test Cases
Sample s1.txt, s2.txt, s3.txt, s4.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, s1.txt, s2.txt, s3.txt, s4.txt
Case Name Status Exec Time Memory
01.txt AC 89 ms 18644 KB
02.txt AC 93 ms 18900 KB
03.txt AC 91 ms 20820 KB
04.txt AC 90 ms 21460 KB
05.txt AC 92 ms 18900 KB
06.txt AC 94 ms 20688 KB
07.txt AC 94 ms 23124 KB
08.txt AC 94 ms 20564 KB
s1.txt AC 93 ms 19028 KB
s2.txt AC 92 ms 19412 KB
s3.txt AC 91 ms 20692 KB
s4.txt AC 93 ms 19540 KB