Submission #42467


Source Code Expand

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		doIt();
	}

	static void doIt(){
		Scanner sc = new Scanner(System.in);
		String c0 = sc.next();
		char c = c0.charAt(0);
		String input = sc.next();
		int len = input.length();
		for(int i = 0; i < len; i++){
			char t = input.charAt(i);
			if(t != c) System.out.print(t);
		}
		System.out.println();
	}

}

Submission Info

Submission Time
Task A - 帰ってきた器物損壊!高橋君
User mkiken
Language Java (OpenJDK 1.7.0)
Score 100
Code Size 424 Byte
Status AC
Exec Time 737 ms
Memory 20352 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 50
Set Name Test Cases
All 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, 00_sample_05.txt, 01_rand_00.txt, 01_rand_01.txt, 01_rand_02.txt, 01_rand_03.txt, 01_rand_04.txt, 01_rand_05.txt, 01_rand_06.txt, 01_rand_07.txt, 01_rand_08.txt, 01_rand_09.txt, 01_rand_10.txt, 01_rand_11.txt, 01_rand_12.txt, 01_rand_13.txt, 01_rand_14.txt, 01_rand_15.txt, 01_rand_16.txt, 01_rand_17.txt, 01_rand_18.txt, 01_rand_19.txt, 02_maxrand_00.txt, 02_maxrand_01.txt, 02_maxrand_02.txt, 02_maxrand_03.txt, 02_maxrand_04.txt, 02_maxrand_05.txt, 02_maxrand_06.txt, 02_maxrand_07.txt, 02_maxrand_08.txt, 02_maxrand_09.txt, 03_allerase_00.txt, 03_allerase_01.txt, 03_allerase_02.txt, 03_allerase_03.txt, 03_allerase_04.txt, 04_manyerase_00.txt, 04_manyerase_01.txt, 04_manyerase_02.txt, 04_manyerase_03.txt, 04_manyerase_04.txt, 05_noterase_00.txt, 05_noterase_01.txt, 05_noterase_02.txt, 05_noterase_03.txt, 05_noterase_04.txt
Case Name Status Exec Time Memory
00_sample_01.txt AC 737 ms 20352 KB
00_sample_02.txt AC 472 ms 20200 KB
00_sample_03.txt AC 447 ms 20152 KB
00_sample_04.txt AC 458 ms 20216 KB
00_sample_05.txt AC 453 ms 20196 KB
01_rand_00.txt AC 448 ms 20220 KB
01_rand_01.txt AC 451 ms 20228 KB
01_rand_02.txt AC 457 ms 20196 KB
01_rand_03.txt AC 447 ms 20272 KB
01_rand_04.txt AC 457 ms 20272 KB
01_rand_05.txt AC 463 ms 20212 KB
01_rand_06.txt AC 456 ms 20208 KB
01_rand_07.txt AC 462 ms 20200 KB
01_rand_08.txt AC 453 ms 20196 KB
01_rand_09.txt AC 467 ms 20212 KB
01_rand_10.txt AC 451 ms 20212 KB
01_rand_11.txt AC 467 ms 20212 KB
01_rand_12.txt AC 457 ms 20208 KB
01_rand_13.txt AC 473 ms 20164 KB
01_rand_14.txt AC 450 ms 20080 KB
01_rand_15.txt AC 477 ms 20076 KB
01_rand_16.txt AC 462 ms 20180 KB
01_rand_17.txt AC 452 ms 20200 KB
01_rand_18.txt AC 488 ms 20264 KB
01_rand_19.txt AC 460 ms 20208 KB
02_maxrand_00.txt AC 497 ms 20208 KB
02_maxrand_01.txt AC 465 ms 20172 KB
02_maxrand_02.txt AC 454 ms 20144 KB
02_maxrand_03.txt AC 484 ms 20216 KB
02_maxrand_04.txt AC 450 ms 20148 KB
02_maxrand_05.txt AC 473 ms 20212 KB
02_maxrand_06.txt AC 453 ms 20084 KB
02_maxrand_07.txt AC 477 ms 20204 KB
02_maxrand_08.txt AC 459 ms 20168 KB
02_maxrand_09.txt AC 441 ms 20196 KB
03_allerase_00.txt AC 443 ms 20288 KB
03_allerase_01.txt AC 456 ms 20212 KB
03_allerase_02.txt AC 442 ms 20216 KB
03_allerase_03.txt AC 479 ms 20216 KB
03_allerase_04.txt AC 446 ms 20272 KB
04_manyerase_00.txt AC 456 ms 20084 KB
04_manyerase_01.txt AC 449 ms 20084 KB
04_manyerase_02.txt AC 459 ms 20072 KB
04_manyerase_03.txt AC 487 ms 20152 KB
04_manyerase_04.txt AC 439 ms 20216 KB
05_noterase_00.txt AC 478 ms 20224 KB
05_noterase_01.txt AC 455 ms 20220 KB
05_noterase_02.txt AC 472 ms 20092 KB
05_noterase_03.txt AC 467 ms 20220 KB
05_noterase_04.txt AC 469 ms 20092 KB